[This is preliminary documentation and is subject to change.]

Implements GUI (form) for MessageBox

Namespace: Tools.WindowsT.FormsT
Assembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
[DesignerGeneratedAttribute]
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public class MessageBoxForm : Form
Visual Basic
<DesignerGeneratedAttribute> _
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _
Public Class MessageBoxForm _
	Inherits Form
Visual C++
[DesignerGeneratedAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
public ref class MessageBoxForm : public Form
F#
[<DesignerGeneratedAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
type MessageBoxForm =  
    class
        inherit Form
    end
JScript
public class MessageBoxForm extends Form

Remarks

This class implements MessageBox in fully dynamic way. You can change all it's properties and all properties of its controls and those change are immediatelly displayed to user.

If you are passing some very custom implementation of MessageBox to this form, you must ensure that : Argument e of the ComboBox.Items.CollectionChanged event has always Action which is member of CollectionChangeAction.Argument e of the ButtonsChanged and RadiosChanged events has always Action which is member of CollectionChangeAction and is not Other. Violating these rules can lead to uncatchable InvalidOperationException being thrown when event occurs.

Inheritance Hierarchy

See Also

Collapse/expand Version History

1.5.2

  • Fixed: Check box has not enough size.
  • DialogResult is no longer set (it caused dialog to be closed even when event was cancelled).