Hi All
I am using Visual stadio 2005 and NETCF2.0,
and I want to know the difference device screen size,
something like:
int width = Screen.Width;
int height = Screen.Height;
How to get those information?
Thanks in advanced!
Simon Hart - 16 Mar 2007 18:31 GMT
System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width
System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height.
Simon.
> Hi All
>
[quoted text clipped - 9 lines]
>
> Thanks in advanced!
Arun - 16 Mar 2007 18:32 GMT
> Hi All
>
[quoted text clipped - 9 lines]
>
> Thanks in advanced!
System.Drawing.Rectangle rect =
Screen.PrimaryScreen.WorkingArea;
Hope this helps,
Cheers,
Arun
www.innasite.com
jeff - 16 Mar 2007 20:33 GMT
Thanks Guys
> Hi All
>
[quoted text clipped - 9 lines]
>
> Thanks in advanced!