Well, if WinForms does not do this automatically, you may need to install it manually.
You will need to use System.Windows.Forms.Screen.PrimaryScreen.WorkingArea to get the screen area without the taskbar, and use this rectangle to calculate the startup area for the form manually and set it as Form Property. (Make sure the form uses FormStartPosition.Manual).
Miffthefox
source share