C# Class NetIde.Shell.NiTaskDialogBuilder

Exibir arquivo Open project: netide/netide

Public Methods

Method Description
Alert ( ) : void
Alert ( IWin32Window owner ) : void
CommonButtons ( NiTaskDialogCommonButtons commonButtons ) : NiTaskDialogBuilder
Confirm ( ) : bool
Confirm ( IWin32Window owner ) : bool
Content ( string content ) : NiTaskDialogBuilder
ExpandedControlText ( string expandedControlText ) : NiTaskDialogBuilder
ExpandedInformation ( string expandedInformation ) : NiTaskDialogBuilder
FromException ( Exception exception ) : NiTaskDialogBuilder
MainIcon ( NiTaskDialogIcon mainIcon ) : NiTaskDialogBuilder
MainInstruction ( string mainInstruction ) : NiTaskDialogBuilder
Show ( ) : DialogResult
Show ( IWin32Window owner ) : DialogResult

Private Methods

Method Description
GetExceptionLog ( Exception exception ) : string
GetExceptionLog ( Exception exception, StringBuilder stringBuilder ) : void
LogException ( StringBuilder sb, Exception exception ) : void
NiTaskDialogBuilder ( INiShell shell ) : System

Method Details

Alert() public method

public Alert ( ) : void
return void

Alert() public method

public Alert ( IWin32Window owner ) : void
owner IWin32Window
return void

CommonButtons() public method

public CommonButtons ( NiTaskDialogCommonButtons commonButtons ) : NiTaskDialogBuilder
commonButtons NiTaskDialogCommonButtons
return NiTaskDialogBuilder

Confirm() public method

public Confirm ( ) : bool
return bool

Confirm() public method

public Confirm ( IWin32Window owner ) : bool
owner IWin32Window
return bool

Content() public method

public Content ( string content ) : NiTaskDialogBuilder
content string
return NiTaskDialogBuilder

ExpandedControlText() public method

public ExpandedControlText ( string expandedControlText ) : NiTaskDialogBuilder
expandedControlText string
return NiTaskDialogBuilder

ExpandedInformation() public method

public ExpandedInformation ( string expandedInformation ) : NiTaskDialogBuilder
expandedInformation string
return NiTaskDialogBuilder

FromException() public method

public FromException ( Exception exception ) : NiTaskDialogBuilder
exception System.Exception
return NiTaskDialogBuilder

MainIcon() public method

public MainIcon ( NiTaskDialogIcon mainIcon ) : NiTaskDialogBuilder
mainIcon NiTaskDialogIcon
return NiTaskDialogBuilder

MainInstruction() public method

public MainInstruction ( string mainInstruction ) : NiTaskDialogBuilder
mainInstruction string
return NiTaskDialogBuilder

Show() public method

public Show ( ) : DialogResult
return DialogResult

Show() public method

public Show ( IWin32Window owner ) : DialogResult
owner IWin32Window
return DialogResult