ActivityDesigner.OnKeyDown(KeyEventArgs) ActivityDesigner.OnKeyDown(KeyEventArgs) ActivityDesigner.OnKeyDown(KeyEventArgs) ActivityDesigner.OnKeyDown(KeyEventArgs) Method

定義

發生於設計工具擁有鍵盤焦點,且按下按鍵時。Occurs when a key is pressed when the designer has the keyboard focus.

protected:
 virtual void OnKeyDown(System::Windows::Forms::KeyEventArgs ^ e);
protected virtual void OnKeyDown (System.Windows.Forms.KeyEventArgs e);
abstract member OnKeyDown : System.Windows.Forms.KeyEventArgs -> unit
override this.OnKeyDown : System.Windows.Forms.KeyEventArgs -> unit
Protected Overridable Sub OnKeyDown (e As KeyEventArgs)

參數

e
KeyEventArgs KeyEventArgs KeyEventArgs KeyEventArgs

KeyEventArgs,其中包含事件資料。A KeyEventArgs that contains the event data.

適用於