SplitterEventArgs(Int32, Int32, Int32, Int32) 构造函数

定义

使用鼠标指针的指定坐标和 SplitterEventArgs 控件左上角的坐标初始化 Splitter 类的实例。Initializes an instance of the SplitterEventArgs class with the specified coordinates of the mouse pointer and the coordinates of the upper-left corner of the Splitter control.

public:
 SplitterEventArgs(int x, int y, int splitX, int splitY);
public SplitterEventArgs (int x, int y, int splitX, int splitY);
new System.Windows.Forms.SplitterEventArgs : int * int * int * int -> System.Windows.Forms.SplitterEventArgs
Public Sub New (x As Integer, y As Integer, splitX As Integer, splitY As Integer)

参数

x
Int32

鼠标指针的 x 坐标(在工作区坐标中)。The x-coordinate of the mouse pointer (in client coordinates).

y
Int32

鼠标指针的 y 坐标(在工作区坐标中)。The y-coordinate of the mouse pointer (in client coordinates).

splitX
Int32

Splitter 左上角的 x 坐标(在工作区坐标中)。The x-coordinate of the upper-left corner of the Splitter (in client coordinates).

splitY
Int32

Splitter 左上角的 y 坐标(在工作区坐标中)。The y-coordinate of the upper-left corner of the Splitter (in client coordinates).

适用于

另请参阅