SyntaxFix
Write A Post
Hire A Developer
Questions
You don't need to reference the System.Windows.Forms assembly from your application. Instead, you can use System.Windows.SystemParameters.WorkArea. This is equivalent to the System.Windows.Forms.Screen.PrimaryScreen.WorkingArea!
System.Windows.Forms
System.Windows.SystemParameters.WorkArea
System.Windows.Forms.Screen.PrimaryScreen.WorkingArea