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