Click or drag to resize

KryptonMessageBoxShow Method (IWin32Window, 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.

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static DialogResult Show(
	IWin32Window owner,
	string text,
	string caption,
	MessageBoxButtons buttons,
	MessageBoxIcon icon,
	MessageBoxDefaultButton defaultButton,
	MessageBoxOptions options,
	string helpFilePath,
	HelpNavigator navigator,
	Object param
)

Parameters

owner
Type: System.Windows.FormsIWin32Window
Owner of the modal dialog box.
text
Type: SystemString
The text to display in the message box.
caption
Type: SystemString
The text to display in the title bar of the message box.
buttons
Type: System.Windows.FormsMessageBoxButtons
One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box.
icon
Type: System.Windows.FormsMessageBoxIcon
One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box.
defaultButton
Type: System.Windows.FormsMessageBoxDefaultButton
One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box.
options
Type: System.Windows.FormsMessageBoxOptions
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
Type: SystemString
The path and name of the Help file to display when the user clicks the Help button.
navigator
Type: System.Windows.FormsHelpNavigator
One of the System.Windows.Forms.HelpNavigator values.
param
Type: SystemObject
The numeric ID of the Help topic to display when the user clicks the Help button.

Return Value

Type: DialogResult
One of the System.Windows.Forms.DialogResult values.
See Also