C# Class QuickLaunch.Controls.TextBoxHelper

Exibir arquivo Open project: JoeRobich/fd-quicklaunch

Public Methods

Method Description
SetRightMargin ( TextBox textBox, int margin ) : void

Sets the interior right margin for a textbox

SetWatermark ( TextBox textBox, string watermarkText ) : void

Sets the watermark for a textbox

Private Methods

Method Description
SendMessage ( IntPtr hWnd, uint msg, uint wParam, IntPtr lParam ) : IntPtr
SendMessage ( IntPtr hWnd, uint msg, uint wParam, [ lParam ) : IntPtr

Method Details

SetRightMargin() public static method

Sets the interior right margin for a textbox
public static SetRightMargin ( TextBox textBox, int margin ) : void
textBox System.Windows.Forms.TextBox
margin int
return void

SetWatermark() public static method

Sets the watermark for a textbox
public static SetWatermark ( TextBox textBox, string watermarkText ) : void
textBox System.Windows.Forms.TextBox
watermarkText string
return void