MaskedTextBox.OnKeyPress(KeyPressEventArgs) 方法

定义

引发 KeyPress 事件。

protected:
 override void OnKeyPress(System::Windows::Forms::KeyPressEventArgs ^ e);
protected override void OnKeyPress (System.Windows.Forms.KeyPressEventArgs e);
override this.OnKeyPress : System.Windows.Forms.KeyPressEventArgs -> unit
Protected Overrides Sub OnKeyPress (e As KeyPressEventArgs)

参数

e
KeyPressEventArgs

包含事件数据的 KeyPressEventArgs

适用于

另请参阅