//当前的屏幕除任务栏外的工作域大小
this.Width = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Width;
this.Height = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Height;
//获取当前窗口的工作区间 除了顶部标题栏
this.ClientRectangle.Width,
this.ClientRectangle.Height