For All Programming solution
Thursday, January 17, 2013
How to find the Size of the Screen in C#.net
To find the size (Height and Width) of the computer screen write the followingcode
Rectangle resolution = Screen.PrimaryScreen.Bounds;
int height = resolution.Size.Height;
int width = resolution.Size.Width;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment