【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;

posted @ 2018-01-29 14:38  发明创造小能手  阅读(8668)  评论(1编辑  收藏  举报
levels of contents