C# Class DroidExplorer.Bootstrapper.Extensions

Show file Open project: camalot/droidexplorer

Public Methods

Method 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

Method 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 method

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

ClearControls() public static method

public static ClearControls ( this ctrl ) : void
ctrl this
return void

CloseExt() public static method

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

GetHandle() public static method

public static GetHandle ( this ctrl ) : IntPtr
ctrl this
return System.IntPtr

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

SetBackColor() public static method

public static SetBackColor ( this ctrl, Color color ) : void
ctrl this
color Color
return void

SetDock() public static method

public static SetDock ( this ctrl, DockStyle dock ) : void
ctrl this
dock DockStyle
return void

SetEnabled() public static method

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

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

SetVisible() public static method

public static SetVisible ( this ctrl, bool visible ) : void
ctrl this
visible bool
return void

ShowExt() public static method

Shows the ext.
public static ShowExt ( this wizard ) : void
wizard this The wizard.
return void