Form.Location in the middle of the screen

  • Thread starter Thread starter Martin Asselhoff
  • Start date Start date
M

Martin Asselhoff

Hello newsgroup!

What is the most elegant way to locate the window of your application in the
middle of the screen in CF.

How can I get the boundaries(resolution) of my device's display(monitor)?
 
Take a look at Forms.Screen.WorkingArea. This property
gives you the working area of the display. The working
area is the desktop area of the display, excluding
taskbars, docked windows, and docked tool bars.

Regards,
Maarten Struys, eMVP
PTS Software bv
 
Back
Top