C# Class FarsiLibrary.Win.BaseClasses.TextEditBase

Inheritance: BaseControl
Show file Open project: HEskandari/FarsiLibrary

Private Properties

Property Type Description
DisableTextbox void
InvokeClick void
InvokeDoubleClick void
InvokeKeyDown void
InvokeKeyPress void
InvokeKeyUp void
InvokeMouseDown void
InvokeMouseEnter void
InvokeMouseHover void
InvokeMouseLeave void
InvokeMouseMove void
InvokeMouseUp void
OnDrawNormalTextBoxBorder void
OnDrawOffice2003Border void
OnDrawXPTextBoxBorder void
OnThemeChanged void
ReadonlyTextbox void
TextBox_GotFocus void
TextBox_LostFocus void
TextBox_MouseEnter void
TextBox_MouseLeave void
TextBox_SizeChanged void
TextBox_TextChanged void

Public Methods

Method Description
TextEditBase ( ) : System

Creates a new instance of TextEditBase class.

Protected Methods

Method Description
GetContentRect ( ) : Rectangle
OnBackColorChanged ( EventArgs e ) : void
OnDrawButtons ( PaintEventArgs e ) : void
OnDrawDisabledBackground ( PaintEventArgs e ) : void
OnGotFocus ( EventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnRightToLeftChanged ( EventArgs e ) : void
OnSizeChanged ( EventArgs e ) : void
OnTextChanged ( EventArgs e ) : void
SetPosTextBox ( ) : void
SetPosTextBox ( Rectangle content ) : void

Private Methods

Method Description
DisableTextbox ( bool isDisabled ) : void
InvokeClick ( object sender, EventArgs e ) : void
InvokeDoubleClick ( object sender, EventArgs e ) : void
InvokeKeyDown ( object sender, KeyEventArgs e ) : void
InvokeKeyPress ( object sender, KeyPressEventArgs e ) : void
InvokeKeyUp ( object sender, KeyEventArgs e ) : void
InvokeMouseDown ( object sender, MouseEventArgs e ) : void
InvokeMouseEnter ( object sender, EventArgs e ) : void
InvokeMouseHover ( object sender, EventArgs e ) : void
InvokeMouseLeave ( object sender, EventArgs e ) : void
InvokeMouseMove ( object sender, MouseEventArgs e ) : void
InvokeMouseUp ( object sender, MouseEventArgs e ) : void
OnDrawNormalTextBoxBorder ( PaintEventArgs e ) : void
OnDrawOffice2003Border ( PaintEventArgs e ) : void
OnDrawXPTextBoxBorder ( PaintEventArgs e ) : void
OnThemeChanged ( object sender, EventArgs e ) : void
ReadonlyTextbox ( bool isReadonly ) : void
TextBox_GotFocus ( object sender, EventArgs e ) : void
TextBox_LostFocus ( object sender, EventArgs e ) : void
TextBox_MouseEnter ( object sender, EventArgs e ) : void
TextBox_MouseLeave ( object sender, EventArgs e ) : void
TextBox_SizeChanged ( object sender, EventArgs e ) : void
TextBox_TextChanged ( object sender, EventArgs e ) : void

Method Details

GetContentRect() protected method

protected GetContentRect ( ) : Rectangle
return System.Drawing.Rectangle

OnBackColorChanged() protected method

protected OnBackColorChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnDrawButtons() protected method

protected OnDrawButtons ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnDrawDisabledBackground() protected method

protected OnDrawDisabledBackground ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnGotFocus() protected method

protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnRightToLeftChanged() protected method

protected OnRightToLeftChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnSizeChanged() protected method

protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnTextChanged() protected method

protected OnTextChanged ( EventArgs e ) : void
e System.EventArgs
return void

SetPosTextBox() protected method

protected SetPosTextBox ( ) : void
return void

SetPosTextBox() protected method

protected SetPosTextBox ( Rectangle content ) : void
content System.Drawing.Rectangle
return void

TextEditBase() public method

Creates a new instance of TextEditBase class.
public TextEditBase ( ) : System
return System