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

适用于

另请参阅