WPF 获取屏幕大小
double workHeight = SystemParameters.PrimaryScreenHeight;
double workWidth = SystemParameters.PrimaryScreenWidth;
WinForm 获取屏幕大小
int iActulaWidth = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width;
int iActulaHeight = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height;
WinForm 获取主显示器工作区域大小
int ScreenHeight = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Height;
int ScreenWidth = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Width;