Screen.PrimaryScreen.Bounds is a Rectangle that accounts for the full resolution. Screen.PrimaryScreen.WorkingArea is a Rectangle that excludes the Taskbar and any other unavailable area. Obviously the code would need to be adjusted for any monitor other than the primary.