Form.SetClientSizeCore(Int32, Int32) 方法

定义

设置窗体的工作区大小。Sets the client size of the form. 这将调整窗体的界限,以将工作区大小设置为请求的大小。This will adjust the bounds of the form to make the client size the requested size.

protected:
 override void SetClientSizeCore(int x, int y);
protected override void SetClientSizeCore (int x, int y);
override this.SetClientSizeCore : int * int -> unit
Protected Overrides Sub SetClientSizeCore (x As Integer, y As Integer)

参数

x
Int32

请求的工作区宽度。Requested width of the client region.

y
Int32

请求的工作区高度。Requested height of the client region.

适用于

另请参阅