Get the screen's working area in C#
The working area is the part of the screen that an application can normally occupy. This area may be in different parts of the screen depending on where the task bar's sized and location.
The Screen.PrimaryScreen.WorkingArea property gives the primary screen's working area. This example uses the following code to make its form fill the working area.
this.Bounds = Screen.PrimaryScreen.WorkingArea;



Comments