110,538
社区成员
发帖
与我相关
我的任务
分享
System.Drawing.Rectangle rect = Screen.PrimaryScreen.WorkingArea;
MessageBox.Show("Width: " + rect.Width + " Height: {0}" + rect.Height);
// 4 : 3 is ordinary monitor
// 9 : 6 or greater than 9 : 6 is wide screen monitor