Beginners Question Form Sizing

  • Thread starter Thread starter Roger Stenson
  • Start date Start date
R

Roger Stenson

Hi
I am writing my first .DotNet application out of the Wrox Professional 2003
Book.
I would like to ascertain the screen size in use and size my forms
accordingly but that topic does not come up in the relevant chapter on forms
How do I get at the relevant computer environment information to size the
MDI form

Roger Stenson
 
Roger,
Have a look at System.Windows.Forms.Screen.PrimaryScreen.Bounds and
System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.

Regards,
Phil.
 
Thanks Phil
Works a treat. I feared I was going to have to get into the Registry
Roger Stenson
 
Back
Top