Grabbing Screen Dimensions

Discuss anything programming related.
Post Reply
User avatar
NotZachary82
Posts: 1846
Joined: Thu Dec 20, 2007 8:39 pm

Grabbing Screen Dimensions

Post by NotZachary82 »

How would I be able to get the dimensions of my screen and display them (in C#)? I thought it would be simple like:

label1.Text = Screen.Width;
label2.Text = Screen.Height;

... or something of the sort. ... Any help is appreciated.
User avatar
XZodia
Staff
Posts: 2208
Joined: Sun Dec 09, 2007 2:09 pm
Location: UK
Contact:

Re: Grabbing Screen Dimensions

Post by XZodia »

Control.Screen
Image
JacksonCougar wrote:I find you usually have great ideas.
JacksonCougar wrote:Ah fuck. Why must you always be right? Why.
Post Reply