C# 클래스 ComponentFactory.Krypton.Toolkit.KryptonMessageBox

상속: KryptonForm
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
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 ( ) : Size
UpdateDefault ( ) : void
UpdateHelp ( ) : void
UpdateIcon ( ) : void
UpdateMessageSizing ( ) : Size
UpdateSizing ( ) : void
UpdateText ( ) : void
button_keyDown ( object sender, KeyEventArgs e ) : void

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

Show() 공개 정적인 메소드

Displays a message box in front of the specified object and with the specified text.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

Displays a message box in front of the specified object and with the specified text and caption.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

Displays a message box in front of the specified object and with the specified text, caption, and buttons.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

Displays a message box in front of the specified object and with the specified text, caption, buttons, and icon.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

Displays a message box in front of the specified object and with the specified text, caption, buttons, icon, and default button.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

Displays a message box in front of the specified object and with the specified text, caption, buttons, icon, default button, and options.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and HelpNavigator.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

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.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

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.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

Displays a message box with specified text.
public static Show ( string text ) : DialogResult
text string The text to display in the message box.
리턴 DialogResult

Show() 공개 정적인 메소드

Displays a message box with specified text and caption.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

Displays a message box with specified text, caption, and buttons.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

Displays a message box with specified text, caption, buttons, and icon.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

Displays a message box with the specified text, caption, buttons, icon, and default button.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

Displays a message box with the specified text, caption, buttons, icon, default button, and options.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file and HelpNavigator.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

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.
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.
리턴 DialogResult

Show() 공개 정적인 메소드

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.
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.
리턴 DialogResult