C# Class DroidExplorer.Bootstrapper.Extensions

Afficher le fichier Open project: camalot/droidexplorer

Méthodes publiques

Méthode Description
AddControl ( this ctrl, Control child ) : void
ClearControls ( this ctrl ) : void
CloseExt ( this form ) : void

Closes the ext.

GetHandle ( this ctrl ) : IntPtr
GetValue ( this pb ) : int
HideExt ( this wizard ) : void

Hides the ext.

IncrementExt ( this pb, int increment ) : void

increments the progress bar

SetBackColor ( this ctrl, Color color ) : void
SetDock ( this ctrl, DockStyle dock ) : void
SetEnabled ( this ctrl, bool enabled ) : void
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

Sets the control text.

SetValue ( this pb, int value ) : void

Sets the progress bar value.

SetVisible ( this ctrl, bool visible ) : void
ShowExt ( this wizard ) : void

Shows the ext.

Private Methods

Méthode Description
InternalGetHandle ( Control ctrl ) : IntPtr
InternalGetProgressBarValue ( System.Windows.Forms.ProgressBar pb ) : int
InternalSetBackColor ( Control ctrl, Color color ) : void
InternalSetControlEnabled ( Control ctrl, bool enabled ) : void
InternalSetControlText ( Control ctrl, string text ) : void
InternalSetControlVisible ( Control ctrl, bool visible ) : void
InternalSetDock ( Control ctrl, DockStyle dock ) : void
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

Method Details

AddControl() public static méthode

public static AddControl ( this ctrl, Control child ) : void
ctrl this
child System.Windows.Forms.Control
Résultat void

ClearControls() public static méthode

public static ClearControls ( this ctrl ) : void
ctrl this
Résultat void

CloseExt() public static méthode

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

GetHandle() public static méthode

public static GetHandle ( this ctrl ) : IntPtr
ctrl this
Résultat System.IntPtr

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 wizard ) : void
wizard this The wizard.
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

SetBackColor() public static méthode

public static SetBackColor ( this ctrl, Color color ) : void
ctrl this
color Color
Résultat void

SetDock() public static méthode

public static SetDock ( this ctrl, DockStyle dock ) : void
ctrl this
dock DockStyle
Résultat void

SetEnabled() public static méthode

public static SetEnabled ( this ctrl, bool enabled ) : void
ctrl this
enabled 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

Sets the control text.
public static SetText ( this ctrl, string text ) : void
ctrl this The CTRL.
text string The text.
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

SetVisible() public static méthode

public static SetVisible ( this ctrl, bool visible ) : void
ctrl this
visible bool
Résultat void

ShowExt() public static méthode

Shows the ext.
public static ShowExt ( this wizard ) : void
wizard this The wizard.
Résultat void