C# Class DroidExplorer.ControlDelegateExtensions

Exibir arquivo Open project: camalot/droidexplorer

Public Methods

Method Description
AsyncShow ( this form ) : void

Shows the ext.

AsyncShow ( this form, IWin32Window owner ) : void

Shows the ext.

AsyncShowDialog ( this form ) : DialogResult

Shows the ext.

AsyncShowDialog ( this form, IWin32Window owner ) : DialogResult

Shows the ext.

CloseExt ( this form ) : void

Closes the ext.

GetChecked ( this cb ) : bool

Gets the checked.

GetText ( this ctrl ) : string
GetValue ( this pb ) : int
HideExt ( this form ) : void

Hides the ext.

IncrementExt ( this pb, int increment ) : void

increments the progress bar

SetChecked ( this cb, bool @checked ) : void

Sets the checked.

SetMaximum ( this pb, int max ) : void

Sets the progress bar maximum.

SetMinimum ( this pb, int min ) : void

Sets the progress bar minimum.

SetText ( this ctrl, string text ) : void
SetValue ( this pb, int value ) : void

Sets the progress bar value.

Private Methods

Method Description
GetCheckedInternal ( CheckBox cb ) : bool

Gets the checked internal.

GetTextInternal ( Control ctrl ) : string

Gets the text internal.

InternalGetProgressBarValue ( System.Windows.Forms.ProgressBar pb ) : int
InternalSetProgressBarMaximum ( System.Windows.Forms.ProgressBar pb, int max ) : void
InternalSetProgressBarMinimum ( System.Windows.Forms.ProgressBar pb, int min ) : void
InternalSetProgressBarValue ( System.Windows.Forms.ProgressBar pb, int value ) : void
SetCheckedInternal ( CheckBox cb, bool @checked ) : void

Sets the checked internal.

SetTextInternal ( Control ctrl, string text ) : void

Sets the text internal.

Method Details

AsyncShow() public static method

Shows the ext.
public static AsyncShow ( this form ) : void
form this The Form.
return void

AsyncShow() public static method

Shows the ext.
public static AsyncShow ( this form, IWin32Window owner ) : void
form this The Form.
owner IWin32Window
return void

AsyncShowDialog() public static method

Shows the ext.
public static AsyncShowDialog ( this form ) : DialogResult
form this The Form.
return DialogResult

AsyncShowDialog() public static method

Shows the ext.
public static AsyncShowDialog ( this form, IWin32Window owner ) : DialogResult
form this The Form.
owner IWin32Window
return DialogResult

CloseExt() public static method

Closes the ext.
public static CloseExt ( this form ) : void
form this The form.
return void

GetChecked() public static method

Gets the checked.
public static GetChecked ( this cb ) : bool
cb this The cb.
return bool

GetText() public static method

public static GetText ( this ctrl ) : string
ctrl this
return string

GetValue() public static method

public static GetValue ( this pb ) : int
pb this
return int

HideExt() public static method

Hides the ext.
public static HideExt ( this form ) : void
form this The Form.
return void

IncrementExt() public static method

increments the progress bar
public static IncrementExt ( this pb, int increment ) : void
pb this The pb.
increment int The increment.
return void

SetChecked() public static method

Sets the checked.
public static SetChecked ( this cb, bool @checked ) : void
cb this The cb.
@checked bool
return void

SetMaximum() public static method

Sets the progress bar maximum.
public static SetMaximum ( this pb, int max ) : void
pb this The pb.
max int The max.
return void

SetMinimum() public static method

Sets the progress bar minimum.
public static SetMinimum ( this pb, int min ) : void
pb this The pb.
min int The min.
return void

SetText() public static method

public static SetText ( this ctrl, string text ) : void
ctrl this
text string
return void

SetValue() public static method

Sets the progress bar value.
public static SetValue ( this pb, int value ) : void
pb this The pb.
value int The value.
return void