C# Class System.Windows.Forms.ControlHelper

Additional methods for designing and managing controls.
Show file Open project: Meragon/Unity-WinForms Class Usage Examples

Public Methods

Method Description
AddDialogButtons ( this f, Control buttonOk, Control buttonCancel ) : void
ClearColor ( this button, Color clearColor ) : void

Sets button's back and border colors for normal and hover state to specified color.

FillToBottom ( this control, int offset ) : void
FillToRight ( this control, int offset ) : void
OpenUrl ( this button, string url ) : void
ToCenter ( this f ) : void

Method Details

AddDialogButtons() public static method

public static AddDialogButtons ( this f, Control buttonOk, Control buttonCancel ) : void
f this
buttonOk Control
buttonCancel Control
return void

ClearColor() public static method

Sets button's back and border colors for normal and hover state to specified color.
public static ClearColor ( this button, Color clearColor ) : void
button this
clearColor Color
return void

FillToBottom() public static method

public static FillToBottom ( this control, int offset ) : void
control this
offset int
return void

FillToRight() public static method

public static FillToRight ( this control, int offset ) : void
control this
offset int
return void

OpenUrl() public static method

public static OpenUrl ( this button, string url ) : void
button this
url string
return void

ToCenter() public static method

public static ToCenter ( this f ) : void
f this
return void