共用方式為


Control.RaiseMouseEvent(Object, MouseEventArgs) 方法

定義

引發適當的滑鼠事件。

protected:
 void RaiseMouseEvent(System::Object ^ key, System::Windows::Forms::MouseEventArgs ^ e);
protected void RaiseMouseEvent (object key, System.Windows.Forms.MouseEventArgs e);
member this.RaiseMouseEvent : obj * System.Windows.Forms.MouseEventArgs -> unit
Protected Sub RaiseMouseEvent (key As Object, e As MouseEventArgs)

參數

key
Object

要引發的事件。

e
MouseEventArgs

MouseEventArgs,其中包含事件資料。

適用於

另請參閱