C# Class FX.SalesLogix.Modules.GitExtensions.Installer.Utility.ControlHelper

Show file Open project: CustomerFX/SalesLogixGitExtensions

Public Methods

Method Description
AddControl ( Control parentcontrol, Control childcontrol ) : void
ClearControls ( Control parentcontrol ) : void
CloseForm ( Form form ) : void
RemoveControl ( Control parentcontrol, Control childcontrol ) : void
SetControlBackColor ( Control control, Color backcolor ) : void
SetControlDock ( Control control, DockStyle dockstyle ) : void
SetControlEnabled ( Control control, bool enabled ) : void
SetControlSize ( Control control, Size size ) : void
SetControlTag ( Control control, object tag ) : void
SetControlText ( Control control, string text ) : void
SetControlTooltip ( Control control, System toolTip, string tip ) : void
SetControlVisible ( Control control, bool visible ) : void
SetPictureBoxImage ( PictureBox control, Image image ) : void
SetPictureBoxImageLocation ( PictureBox control, string imageurl ) : void

Private Methods

Method Description
ControlHelper ( ) : System

Method Details

AddControl() public static method

public static AddControl ( Control parentcontrol, Control childcontrol ) : void
parentcontrol System.Windows.Forms.Control
childcontrol System.Windows.Forms.Control
return void

ClearControls() public static method

public static ClearControls ( Control parentcontrol ) : void
parentcontrol System.Windows.Forms.Control
return void

CloseForm() public static method

public static CloseForm ( Form form ) : void
form System.Windows.Forms.Form
return void

RemoveControl() public static method

public static RemoveControl ( Control parentcontrol, Control childcontrol ) : void
parentcontrol System.Windows.Forms.Control
childcontrol System.Windows.Forms.Control
return void

SetControlBackColor() public static method

public static SetControlBackColor ( Control control, Color backcolor ) : void
control System.Windows.Forms.Control
backcolor Color
return void

SetControlDock() public static method

public static SetControlDock ( Control control, DockStyle dockstyle ) : void
control System.Windows.Forms.Control
dockstyle DockStyle
return void

SetControlEnabled() public static method

public static SetControlEnabled ( Control control, bool enabled ) : void
control System.Windows.Forms.Control
enabled bool
return void

SetControlSize() public static method

public static SetControlSize ( Control control, Size size ) : void
control System.Windows.Forms.Control
size System.Drawing.Size
return void

SetControlTag() public static method

public static SetControlTag ( Control control, object tag ) : void
control System.Windows.Forms.Control
tag object
return void

SetControlText() public static method

public static SetControlText ( Control control, string text ) : void
control System.Windows.Forms.Control
text string
return void

SetControlTooltip() public static method

public static SetControlTooltip ( Control control, System toolTip, string tip ) : void
control System.Windows.Forms.Control
toolTip System
tip string
return void

SetControlVisible() public static method

public static SetControlVisible ( Control control, bool visible ) : void
control System.Windows.Forms.Control
visible bool
return void

SetPictureBoxImage() public static method

public static SetPictureBoxImage ( PictureBox control, Image image ) : void
control System.Windows.Forms.PictureBox
image Image
return void

SetPictureBoxImageLocation() public static method

public static SetPictureBoxImageLocation ( PictureBox control, string imageurl ) : void
control System.Windows.Forms.PictureBox
imageurl string
return void