Control.RaiseMouseEvent(Object, MouseEventArgs) Control.RaiseMouseEvent(Object, MouseEventArgs) Control.RaiseMouseEvent(Object, MouseEventArgs) Control.RaiseMouseEvent(Object, MouseEventArgs) Method

定義

引發適當的滑鼠事件。Raises the appropriate mouse event.

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 Object Object Object

要引發的事件。The event to raise.

e
MouseEventArgs MouseEventArgs MouseEventArgs MouseEventArgs

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

適用於

另請參閱