How can I retrieve the screen resolution that my C# Winform App is running on?
See Question&Answers more detail:osHow can I retrieve the screen resolution that my C# Winform App is running on?
See Question&Answers more detail:osDo you need just the area a standard application would use, i.e. excluding the Windows taskbar and docked windows? If so, use the Screen.WorkingArea property. Otherwise, use Screen.Bounds.
If there are multiple monitors, you need to grab the screen from your form, i.e.
Form myForm;
Screen myScreen = Screen.FromControl(myForm);
Rectangle area = myScreen.WorkingArea;
If you want to know which is the primary display screen, use the Screen.Primary property. Also, you can get a list of screens from the Screen.AllScreens property.