InputPanel for WinForms帮助文档
OnKeyPress 方法






System.Windows.Forms.KeyPressEventArgs that contains the event data.
Raises the KeyPress event.
语法
'声明
 
Protected Overridable Sub OnKeyPress( _
   ByVal e As System.Windows.Forms.KeyPressEventArgs _
) 
'用法
 
Dim instance As InputComponent
Dim e As System.Windows.Forms.KeyPressEventArgs
 
instance.OnKeyPress(e)
protected virtual void OnKeyPress( 
   System.Windows.Forms.KeyPressEventArgs e
)
protected procedure OnKeyPress( 
    e: System.Windows.Forms.KeyPressEventArgs
); virtual; 
protected function OnKeyPress( 
   e : System.Windows.Forms.KeyPressEventArgs
);
protected: virtual void OnKeyPress( 
   System.Windows.Forms.KeyPressEventArgs* e
) 
protected:
virtual void OnKeyPress( 
   System.Windows.Forms.KeyPressEventArgs^ e
) 

参数

e
System.Windows.Forms.KeyPressEventArgs that contains the event data.
需求

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

请参见

引用

InputComponent 类
InputComponent 成员

Send Feedback