AxHost.RaiseOnMouseUp 方法

定義

引發 MouseUp 事件。

多載

RaiseOnMouseUp(Int16, Int16, Int32, Int32)

使用指定的 32 位元帶正負號的整數 (Signed Integer),引發 MouseUp 事件。

RaiseOnMouseUp(Int16, Int16, Single, Single)

使用指定的單精度浮點數來引發 MouseUp 事件。

RaiseOnMouseUp(Object, Object, Object, Object)

使用指定的物件來引發 MouseUp 事件。

RaiseOnMouseUp(Int16, Int16, Int32, Int32)

來源:
AxHost.cs
來源:
AxHost.cs
來源:
AxHost.cs

使用指定的 32 位元帶正負號的整數 (Signed Integer),引發 MouseUp 事件。

C#
protected void RaiseOnMouseUp(short button, short shift, int x, int y);

參數

button
Int16

其中一個 MouseButtons 值,表示所按下的滑鼠按鍵。

shift
Int16

未使用。

x
Int32

按一下滑鼠時的 X 座標 (以像素為單位)。

y
Int32

按一下滑鼠時的 Y 座標 (以像素為單位)。

適用於

.NET Framework 4.8.1 及其他版本
產品 版本
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

RaiseOnMouseUp(Int16, Int16, Single, Single)

來源:
AxHost.cs
來源:
AxHost.cs
來源:
AxHost.cs

使用指定的單精度浮點數來引發 MouseUp 事件。

C#
protected void RaiseOnMouseUp(short button, short shift, float x, float y);

參數

button
Int16

其中一個 MouseButtons 值,表示所按下的滑鼠按鍵。

shift
Int16

未使用。

x
Single

按一下滑鼠時的 X 座標 (以像素為單位)。

y
Single

按一下滑鼠時的 Y 座標 (以像素為單位)。

適用於

.NET Framework 4.8.1 及其他版本
產品 版本
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

RaiseOnMouseUp(Object, Object, Object, Object)

來源:
AxHost.cs
來源:
AxHost.cs
來源:
AxHost.cs

使用指定的物件來引發 MouseUp 事件。

C#
protected void RaiseOnMouseUp(object o1, object o2, object o3, object o4);

參數

o1
Object

其中一個 MouseButtons 值,表示所按下的滑鼠按鍵。

o2
Object

未使用。

o3
Object

按一下滑鼠時的 X 座標 (以像素為單位)。

o4
Object

按一下滑鼠時的 Y 座標 (以像素為單位)。

適用於

.NET Framework 4.8.1 及其他版本
產品 版本
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10