C# Class DroidExplorer.ControlDelegateExtensions

Afficher le fichier Open project: camalot/droidexplorer

Méthodes publiques

Méthode 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

Méthode 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 méthode

Shows the ext.
public static AsyncShow ( this form ) : void
form this The Form.
Résultat void

AsyncShow() public static méthode

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

AsyncShowDialog() public static méthode

Shows the ext.
public static AsyncShowDialog ( this form ) : DialogResult
form this The Form.
Résultat DialogResult

AsyncShowDialog() public static méthode

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

CloseExt() public static méthode

Closes the ext.
public static CloseExt ( this form ) : void
form this The form.
Résultat void

GetChecked() public static méthode

Gets the checked.
public static GetChecked ( this cb ) : bool
cb this The cb.
Résultat bool

GetText() public static méthode

public static GetText ( this ctrl ) : string
ctrl this
Résultat string

GetValue() public static méthode

public static GetValue ( this pb ) : int
pb this
Résultat int

HideExt() public static méthode

Hides the ext.
public static HideExt ( this form ) : void
form this The Form.
Résultat void

IncrementExt() public static méthode

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

SetChecked() public static méthode

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

SetMaximum() public static méthode

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

SetMinimum() public static méthode

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

SetText() public static méthode

public static SetText ( this ctrl, string text ) : void
ctrl this
text string
Résultat void

SetValue() public static méthode

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