DevMessageBox Class

Represents a MessageBox that will be displayed centered to the specified Form or Control.

Definition

Namespace: DevCase.UI.Dialogs
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[SupportedOSPlatformAttribute("windows")]
public class DevMessageBox : IDisposable
Inheritance
Object    DevMessageBox
Implements
IDisposable

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Constructors

DevMessageBox(Control) Initializes a new instance of the DevMessageBox class.
DevMessageBox(Form) Initializes a new instance of the DevMessageBox class.
DevMessageBox(Control, Int32) Initializes a new instance of the DevMessageBox class.
DevMessageBox(Form, Int32) Initializes a new instance of the DevMessageBox class.

Properties

DialogWindowHandle Gets the messagebox main window handle (hwnd).
Owner Gets the owner Control to center the DevMessageBox.
TimeOut Gets or sets the time interval to auto-close this DevMessageBox, in milliseconds. Default value is '0', which means Infinite.

Methods

Dispose Releases all the resources used by this instance.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
Show(String) Displays a message box with specified text.
Show(String, String) Displays a message box with specified text and caption.
Show(String, String, MessageBoxButtons) Displays a message box with specified text, caption, and buttons.
Show(String, String, MessageBoxButtons, MessageBoxIcon) Displays a message box with specified text, caption, buttons, and icon.
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) Displays a message box with the specified text, caption, buttons, icon, and default button.
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions) Displays a message box with the specified text, caption, buttons, icon, default button, and options.
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, Boolean) Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button.
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String) Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file.
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String, String) Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and Help keyword.
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String, HelpNavigator) Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and HelpNavigator.
Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String, HelpNavigator, Object) Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file, HelpNavigator, and Help topic.
ToString Returns a string that represents the current object.
(Inherited from Object)

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also