设置窗体最大化,填满整个屏幕
//this.MaximizedBounds = Screen.PrimaryScreen.WorkingArea;
//this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;
// this.MaximumSize=Screen.FromHandle(this.Handle).WorkingArea.Size;
this.WindowState = FormWindowState.Maximized;
设置窗体最大化,填满整个屏幕
//this.MaximizedBounds = Screen.PrimaryScreen.WorkingArea;
//this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;
// this.MaximumSize=Screen.FromHandle(this.Handle).WorkingArea.Size;
this.WindowState = FormWindowState.Maximized;