Méthode | Description | |
---|---|---|
Show ( IWin32Window owner, string text ) : DialogResult |
Displays a message box in front of the specified object and with the specified text.
|
|
Show ( IWin32Window owner, string text, string caption ) : DialogResult |
Displays a message box in front of the specified object and with the specified text and caption.
|
|
Show ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons ) : DialogResult |
Displays a message box in front of the specified object and with the specified text, caption, and buttons.
|
|
Show ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon ) : DialogResult |
Displays a message box in front of the specified object and with the specified text, caption, buttons, and icon.
|
|
Show ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton ) : DialogResult |
Displays a message box in front of the specified object and with the specified text, caption, buttons, icon, and default button.
|
|
Show ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options ) : DialogResult |
Displays a message box in front of the specified object and with the specified text, caption, buttons, icon, default button, and options.
|
|
Show ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath ) : DialogResult |
Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file.
|
|
Show ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, HelpNavigator navigator ) : DialogResult |
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 ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, HelpNavigator navigator, object param ) : DialogResult |
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.
|
|
Show ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, string keyword ) : DialogResult |
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 text ) : DialogResult |
Displays a message box with specified text.
|
|
Show ( string text, string caption ) : DialogResult |
Displays a message box with specified text and caption.
|
|
Show ( string text, string caption, MessageBoxButtons buttons ) : DialogResult |
Displays a message box with specified text, caption, and buttons.
|
|
Show ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon ) : DialogResult |
Displays a message box with specified text, caption, buttons, and icon.
|
|
Show ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton ) : DialogResult |
Displays a message box with the specified text, caption, buttons, icon, and default button.
|
|
Show ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options ) : DialogResult |
Displays a message box with the specified text, caption, buttons, icon, default button, and options.
|
|
Show ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, bool displayHelpButton ) : DialogResult |
Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button.
|
|
Show ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath ) : DialogResult |
Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file.
|
|
Show ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, HelpNavigator navigator ) : DialogResult |
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 text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, HelpNavigator navigator, object param ) : DialogResult |
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.
|
|
Show ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, string keyword ) : DialogResult |
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.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Méthode | Description | |
---|---|---|
InitializeComponent ( ) : void | ||
InternalShow ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, System.Windows.Forms.HelpInfo helpInfo ) : DialogResult | ||
KryptonMessageBox ( ) : System | ||
KryptonMessageBox ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, System.Windows.Forms.HelpInfo helpInfo ) : System | ||
UpdateButtons ( ) : void | ||
UpdateButtonsSizing ( ) : |
||
UpdateDefault ( ) : void | ||
UpdateHelp ( ) : void | ||
UpdateIcon ( ) : void | ||
UpdateMessageSizing ( ) : |
||
UpdateSizing ( ) : void | ||
UpdateText ( ) : void | ||
button_keyDown ( object sender, |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
Résultat | void |
public static Show ( IWin32Window owner, string text ) : DialogResult | ||
owner | IWin32Window | Owner of the modal dialog box. |
text | string | The text to display in the message box. |
Résultat | DialogResult |
public static Show ( IWin32Window owner, string text, string caption ) : DialogResult | ||
owner | IWin32Window | Owner of the modal dialog box. |
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
Résultat | DialogResult |
public static Show ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons ) : DialogResult | ||
owner | IWin32Window | Owner of the modal dialog box. |
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
buttons | MessageBoxButtons | One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box. |
Résultat | DialogResult |
public static Show ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon ) : DialogResult | ||
owner | IWin32Window | Owner of the modal dialog box. |
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
buttons | MessageBoxButtons | One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box. |
icon | MessageBoxIcon | One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box. |
Résultat | DialogResult |
public static Show ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton ) : DialogResult | ||
owner | IWin32Window | Owner of the modal dialog box. |
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
buttons | MessageBoxButtons | One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box. |
icon | MessageBoxIcon | One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box. |
defaultButton | MessageBoxDefaultButton | One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box. |
Résultat | DialogResult |
public static Show ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options ) : DialogResult | ||
owner | IWin32Window | Owner of the modal dialog box. |
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
buttons | MessageBoxButtons | One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box. |
icon | MessageBoxIcon | One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box. |
defaultButton | MessageBoxDefaultButton | One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box. |
options | MessageBoxOptions | One of the System.Windows.Forms.MessageBoxOptions values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. |
Résultat | DialogResult |
public static Show ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath ) : DialogResult | ||
owner | IWin32Window | Owner of the modal dialog box. |
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
buttons | MessageBoxButtons | One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box. |
icon | MessageBoxIcon | One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box. |
defaultButton | MessageBoxDefaultButton | One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box. |
options | MessageBoxOptions | One of the System.Windows.Forms.MessageBoxOptions values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. |
helpFilePath | string | The path and name of the Help file to display when the user clicks the Help button. |
Résultat | DialogResult |
public static Show ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, HelpNavigator navigator ) : DialogResult | ||
owner | IWin32Window | Owner of the modal dialog box. |
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
buttons | MessageBoxButtons | One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box. |
icon | MessageBoxIcon | One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box. |
defaultButton | MessageBoxDefaultButton | One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box. |
options | MessageBoxOptions | One of the System.Windows.Forms.MessageBoxOptions values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. |
helpFilePath | string | The path and name of the Help file to display when the user clicks the Help button. |
navigator | HelpNavigator | One of the System.Windows.Forms.HelpNavigator values. |
Résultat | DialogResult |
public static Show ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, HelpNavigator navigator, object param ) : DialogResult | ||
owner | IWin32Window | Owner of the modal dialog box. |
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
buttons | MessageBoxButtons | One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box. |
icon | MessageBoxIcon | One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box. |
defaultButton | MessageBoxDefaultButton | One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box. |
options | MessageBoxOptions | One of the System.Windows.Forms.MessageBoxOptions values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. |
helpFilePath | string | The path and name of the Help file to display when the user clicks the Help button. |
navigator | HelpNavigator | One of the System.Windows.Forms.HelpNavigator values. |
param | object | The numeric ID of the Help topic to display when the user clicks the Help button. |
Résultat | DialogResult |
public static Show ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, string keyword ) : DialogResult | ||
owner | IWin32Window | Owner of the modal dialog box. |
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
buttons | MessageBoxButtons | One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box. |
icon | MessageBoxIcon | One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box. |
defaultButton | MessageBoxDefaultButton | One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box. |
options | MessageBoxOptions | One of the System.Windows.Forms.MessageBoxOptions values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. |
helpFilePath | string | The path and name of the Help file to display when the user clicks the Help button. |
keyword | string | The Help keyword to display when the user clicks the Help button. |
Résultat | DialogResult |
public static Show ( string text ) : DialogResult | ||
text | string | The text to display in the message box. |
Résultat | DialogResult |
public static Show ( string text, string caption ) : DialogResult | ||
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
Résultat | DialogResult |
public static Show ( string text, string caption, MessageBoxButtons buttons ) : DialogResult | ||
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
buttons | MessageBoxButtons | One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box. |
Résultat | DialogResult |
public static Show ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon ) : DialogResult | ||
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
buttons | MessageBoxButtons | One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box. |
icon | MessageBoxIcon | One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box. |
Résultat | DialogResult |
public static Show ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton ) : DialogResult | ||
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
buttons | MessageBoxButtons | One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box. |
icon | MessageBoxIcon | One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box. |
defaultButton | MessageBoxDefaultButton | One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box. |
Résultat | DialogResult |
public static Show ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options ) : DialogResult | ||
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
buttons | MessageBoxButtons | One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box. |
icon | MessageBoxIcon | One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box. |
defaultButton | MessageBoxDefaultButton | One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box. |
options | MessageBoxOptions | One of the System.Windows.Forms.MessageBoxOptions values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. |
Résultat | DialogResult |
public static Show ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, bool displayHelpButton ) : DialogResult | ||
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
buttons | MessageBoxButtons | One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box. |
icon | MessageBoxIcon | One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box. |
defaultButton | MessageBoxDefaultButton | One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box. |
options | MessageBoxOptions | One of the System.Windows.Forms.MessageBoxOptions values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. |
displayHelpButton | bool | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button. |
Résultat | DialogResult |
public static Show ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath ) : DialogResult | ||
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
buttons | MessageBoxButtons | One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box. |
icon | MessageBoxIcon | One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box. |
defaultButton | MessageBoxDefaultButton | One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box. |
options | MessageBoxOptions | One of the System.Windows.Forms.MessageBoxOptions values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. |
helpFilePath | string | The path and name of the Help file to display when the user clicks the Help button. |
Résultat | DialogResult |
public static Show ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, HelpNavigator navigator ) : DialogResult | ||
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
buttons | MessageBoxButtons | One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box. |
icon | MessageBoxIcon | One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box. |
defaultButton | MessageBoxDefaultButton | One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box. |
options | MessageBoxOptions | One of the System.Windows.Forms.MessageBoxOptions values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. |
helpFilePath | string | The path and name of the Help file to display when the user clicks the Help button. |
navigator | HelpNavigator | One of the System.Windows.Forms.HelpNavigator values. |
Résultat | DialogResult |
public static Show ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, HelpNavigator navigator, object param ) : DialogResult | ||
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
buttons | MessageBoxButtons | One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box. |
icon | MessageBoxIcon | One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box. |
defaultButton | MessageBoxDefaultButton | One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box. |
options | MessageBoxOptions | One of the System.Windows.Forms.MessageBoxOptions values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. |
helpFilePath | string | The path and name of the Help file to display when the user clicks the Help button. |
navigator | HelpNavigator | One of the System.Windows.Forms.HelpNavigator values. |
param | object | The numeric ID of the Help topic to display when the user clicks the Help button. |
Résultat | DialogResult |
public static Show ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, string keyword ) : DialogResult | ||
text | string | The text to display in the message box. |
caption | string | The text to display in the title bar of the message box. |
buttons | MessageBoxButtons | One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box. |
icon | MessageBoxIcon | One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box. |
defaultButton | MessageBoxDefaultButton | One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box. |
options | MessageBoxOptions | One of the System.Windows.Forms.MessageBoxOptions values that specifies which display and association options will be used for the message box. You may pass in 0 if you wish to use the defaults. |
helpFilePath | string | The path and name of the Help file to display when the user clicks the Help button. |
keyword | string | The Help keyword to display when the user clicks the Help button. |
Résultat | DialogResult |