C# Class ComponentFactory.Krypton.Toolkit.KryptonTaskDialog

Inheritance: System.ComponentModel.Component, INotifyPropertyChanged
Mostra file Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
RaiseFooterHyperlinkClicked void
ResetTag void
ShouldSerializeTag bool

Public Methods

Method Description
KryptonTaskDialog ( ) : System

Initialize a new instance of the KryptonTaskDialog class.

Show ( string windowTitle, string mainInstruction, string content, MessageBoxIcon icon, TaskDialogButtons commonButtons ) : DialogResult

Show a task dialog using the specified values as content.

ShowDialog ( ) : DialogResult

Shows the task dialog as a modal dialog box with the currently active window set as its owner.

ShowDialog ( IWin32Window owner ) : DialogResult

Shows the form as a modal dialog box with the specified owner.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnFooterHyperlinkClicked ( EventArgs e ) : void

Raises the PropertyFooterHyperlinkClickedChanged event.

OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Raises the PropertyChanged event.

Private Methods

Method Description
RaiseFooterHyperlinkClicked ( ) : void
ResetTag ( ) : void
ShouldSerializeTag ( ) : bool

Method Details

Dispose() protected method

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

KryptonTaskDialog() public method

Initialize a new instance of the KryptonTaskDialog class.
public KryptonTaskDialog ( ) : System
return System

OnFooterHyperlinkClicked() protected method

Raises the PropertyFooterHyperlinkClickedChanged event.
protected OnFooterHyperlinkClicked ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
return void

OnPropertyChanged() protected method

Raises the PropertyChanged event.
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs A PropertyChangedEventArgs containing the event data.
return void

Show() public static method

Show a task dialog using the specified values as content.
public static Show ( string windowTitle, string mainInstruction, string content, MessageBoxIcon icon, TaskDialogButtons commonButtons ) : DialogResult
windowTitle string Caption of the window.
mainInstruction string Principal text.
content string Extra text.
icon MessageBoxIcon Predefined icon.
commonButtons TaskDialogButtons Common buttons.
return DialogResult

ShowDialog() public method

Shows the task dialog as a modal dialog box with the currently active window set as its owner.
public ShowDialog ( ) : DialogResult
return DialogResult

ShowDialog() public method

Shows the form as a modal dialog box with the specified owner.
public ShowDialog ( IWin32Window owner ) : DialogResult
owner IWin32Window Any object that implements IWin32Window that represents the top-level window that will own the modal dialog box.
return DialogResult