KryptonMessageBoxShow(IWin32Window, String, String, MessageBoxButtons, MessageBoxIcon) Method |
Displays a message box in front of the specified object and with the specified text, caption, buttons, and icon.
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(
IWin32Window owner,
string text,
string caption,
MessageBoxButtons buttons,
MessageBoxIcon icon
)
Parameters
- 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.
Return Value
DialogResultOne of the System.Windows.Forms.DialogResult values.
See Also