all groups > dotnet distributed apps > november 2005 >
You're in the

dotnet distributed apps

group:

Window Location



Window Location Adam Simmonds (SimAda00)
11/24/2005 1:41:03 AM
dotnet distributed apps: Hello

I have created a small application with 1 form, and i would like this form
to be displayed in the top right hand corner of the screen, but our computers
have different resolutions in use so it needs to be able to move its self to
the correct position.
--
_________________________
Adam Simmonds
Re: Window Location Gabriel Lozano-Morán
11/25/2005 7:32:32 PM
System.Windows.Forms.SystemInformation.WorkingArea will give you the working
area (Rectangle), based on this information you can correctly position the
form as you want.

Gabriel Lozano-Morán
MCSD .NET
http://www.realdn.net

AddThis Social Bookmark Button