C# Класс FX.SalesLogix.Modules.GitExtensions.Installer.Utility.ControlHelper

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
ControlHelper ( ) : System

Описание методов

AddControl() публичный статический Метод

public static AddControl ( Control parentcontrol, Control childcontrol ) : void
parentcontrol System.Windows.Forms.Control
childcontrol System.Windows.Forms.Control
Результат void

ClearControls() публичный статический Метод

public static ClearControls ( Control parentcontrol ) : void
parentcontrol System.Windows.Forms.Control
Результат void

CloseForm() публичный статический Метод

public static CloseForm ( Form form ) : void
form System.Windows.Forms.Form
Результат void

RemoveControl() публичный статический Метод

public static RemoveControl ( Control parentcontrol, Control childcontrol ) : void
parentcontrol System.Windows.Forms.Control
childcontrol System.Windows.Forms.Control
Результат void

SetControlBackColor() публичный статический Метод

public static SetControlBackColor ( Control control, Color backcolor ) : void
control System.Windows.Forms.Control
backcolor Color
Результат void

SetControlDock() публичный статический Метод

public static SetControlDock ( Control control, DockStyle dockstyle ) : void
control System.Windows.Forms.Control
dockstyle DockStyle
Результат void

SetControlEnabled() публичный статический Метод

public static SetControlEnabled ( Control control, bool enabled ) : void
control System.Windows.Forms.Control
enabled bool
Результат void

SetControlSize() публичный статический Метод

public static SetControlSize ( Control control, Size size ) : void
control System.Windows.Forms.Control
size System.Drawing.Size
Результат void

SetControlTag() публичный статический Метод

public static SetControlTag ( Control control, object tag ) : void
control System.Windows.Forms.Control
tag object
Результат void

SetControlText() публичный статический Метод

public static SetControlText ( Control control, string text ) : void
control System.Windows.Forms.Control
text string
Результат void

SetControlTooltip() публичный статический Метод

public static SetControlTooltip ( Control control, System toolTip, string tip ) : void
control System.Windows.Forms.Control
toolTip System
tip string
Результат void

SetControlVisible() публичный статический Метод

public static SetControlVisible ( Control control, bool visible ) : void
control System.Windows.Forms.Control
visible bool
Результат void

SetPictureBoxImage() публичный статический Метод

public static SetPictureBoxImage ( PictureBox control, Image image ) : void
control System.Windows.Forms.PictureBox
image Image
Результат void

SetPictureBoxImageLocation() публичный статический Метод

public static SetPictureBoxImageLocation ( PictureBox control, string imageurl ) : void
control System.Windows.Forms.PictureBox
imageurl string
Результат void