KryptonMessageBoxShow(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton, MessageBoxOptions, String, HelpNavigator) Method |
Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and HelpNavigator.
Namespace: Internal.ComponentFactory.Krypton.ToolkitAssembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static DialogResult Show(
string text,
string caption,
MessageBoxButtons buttons,
MessageBoxIcon icon,
MessageBoxDefaultButton defaultButton,
MessageBoxOptions options,
string helpFilePath,
HelpNavigator navigator
)
Parameters
- 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.
Return Value
DialogResultOne of the System.Windows.Forms.DialogResult values.
See Also