C# Class NanQi.Controls.TextBoxExtend

Inheritance: System.Windows.Forms.TextBox
Afficher le fichier Open project: NanQi/demo

Private Properties

Свойство Type Description
GetWindowDC System.IntPtr
ReleaseDC int

Méthodes protégées

Méthode Description
OnGotFocus ( EventArgs e ) : void

当该控件获得焦点时

OnKeyDown ( KeyEventArgs e ) : void
OnLostFocus ( EventArgs e ) : void

当该控件失去焦点时

OnMouseLeave ( EventArgs e ) : void

当鼠标从该控件移开时

OnMouseMove ( MouseEventArgs e ) : void

鼠标移动到该控件上时

ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Gets a value indicating the state of the P:System.Windows.Forms.TextBoxBase.ShortcutsEnabled property.

WndProc ( Message &m ) : void

获得操作系统消息

Private Methods

Méthode Description
GetWindowDC ( IntPtr hWnd ) : IntPtr
ReleaseDC ( IntPtr hWnd, IntPtr hDC ) : int

Method Details

OnGotFocus() protected méthode

当该控件获得焦点时
protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnKeyDown() protected méthode

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
Résultat void

OnLostFocus() protected méthode

当该控件失去焦点时
protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseLeave() protected méthode

当鼠标从该控件移开时
protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseMove() protected méthode

鼠标移动到该控件上时
protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

ProcessCmdKey() protected méthode

Gets a value indicating the state of the P:System.Windows.Forms.TextBoxBase.ShortcutsEnabled property.
protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg System.Windows.Forms.Message A , passed by reference that represents the window message to process.
keyData Keys One of the values that represents the shortcut key to process.
Résultat bool

WndProc() protected méthode

获得操作系统消息
protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
Résultat void