NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Form.SetDesktopBounds

Sets the bounds of the Form in desktop coordinates. Desktop coordinates are based on the working area of the screen, which excludes the Taskbar.

[Visual Basic]
Public Sub SetDesktopBounds( _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer _
)
[C#]
public void SetDesktopBounds(
   int x,
   int y,
   int width,
   int height
);
[C++]
public: void SetDesktopBounds(
   int x,
   int y,
   int width,
   int height
);
[JScript]
public function SetDesktopBounds(
   x : int,
   y : int,
   width : int,
   height : int
);

Parameters

x
x Location for the Form
y
x Location for the Form
width
Width for the Form
height
Height for the Form

See Also

Form Class | Form Members | System.WinForms Namespace | SetDesktopBounds