AxHost.RaiseOnMouseDown 方法

定義

引發 MouseDown 事件。Raises the MouseDown event.

多載

RaiseOnMouseDown(Int16, Int16, Int32, Int32)

使用指定的 32 位元帶正負號的整數 (Signed Integer),引發 MouseDown 事件。Raises the MouseDown event using the specified 32-bit signed integers.

RaiseOnMouseDown(Int16, Int16, Single, Single)

使用指定的單精度浮點數來引發 MouseDown 事件。Raises the MouseDown event using the specified single-precision floating-point numbers.

RaiseOnMouseDown(Object, Object, Object, Object)

使用指定的物件來引發 MouseDown 事件。Raises the MouseDown event using the specified objects.

RaiseOnMouseDown(Int16, Int16, Int32, Int32)

使用指定的 32 位元帶正負號的整數 (Signed Integer),引發 MouseDown 事件。Raises the MouseDown event using the specified 32-bit signed integers.

protected:
 void RaiseOnMouseDown(short button, short shift, int x, int y);
protected void RaiseOnMouseDown (short button, short shift, int x, int y);
member this.RaiseOnMouseDown : int16 * int16 * int * int -> unit
Protected Sub RaiseOnMouseDown (button As Short, shift As Short, x As Integer, y As Integer)

參數

button
Int16

其中一個 MouseButtons 值,表示所按下的滑鼠按鍵。One of the MouseButtons values that indicate which mouse button was pressed.

shift
Int16

未使用。Not used.

x
Int32

按一下滑鼠時的 X 座標 (以像素為單位)。The x-coordinate of a mouse click, in pixels.

y
Int32

按一下滑鼠時的 Y 座標 (以像素為單位)。The y-coordinate of a mouse click, in pixels.

RaiseOnMouseDown(Int16, Int16, Single, Single)

使用指定的單精度浮點數來引發 MouseDown 事件。Raises the MouseDown event using the specified single-precision floating-point numbers.

protected:
 void RaiseOnMouseDown(short button, short shift, float x, float y);
protected void RaiseOnMouseDown (short button, short shift, float x, float y);
member this.RaiseOnMouseDown : int16 * int16 * single * single -> unit
Protected Sub RaiseOnMouseDown (button As Short, shift As Short, x As Single, y As Single)

參數

button
Int16

其中一個 MouseButtons 值,表示所按下的滑鼠按鍵。One of the MouseButtons values that indicate which mouse button was pressed.

shift
Int16

未使用。Not used.

x
Single

按一下滑鼠時的 X 座標 (以像素為單位)。The x-coordinate of a mouse click, in pixels.

y
Single

按一下滑鼠時的 Y 座標 (以像素為單位)。The y-coordinate of a mouse click, in pixels.

RaiseOnMouseDown(Object, Object, Object, Object)

使用指定的物件來引發 MouseDown 事件。Raises the MouseDown event using the specified objects.

protected:
 void RaiseOnMouseDown(System::Object ^ o1, System::Object ^ o2, System::Object ^ o3, System::Object ^ o4);
protected void RaiseOnMouseDown (object o1, object o2, object o3, object o4);
member this.RaiseOnMouseDown : obj * obj * obj * obj -> unit
Protected Sub RaiseOnMouseDown (o1 As Object, o2 As Object, o3 As Object, o4 As Object)

參數

o1
Object

其中一個 MouseButtons 值,表示所按下的滑鼠按鍵。One of the MouseButtons values that indicate which mouse button was pressed.

o2
Object

未使用。Not used.

o3
Object

按一下滑鼠時的 X 座標 (以像素為單位)。The x-coordinate of a mouse click, in pixels.

o4
Object

按一下滑鼠時的 Y 座標 (以像素為單位)。The y-coordinate of a mouse click, in pixels.

適用於