窗体最大化时 全屏 不会遮盖任务

来源:互联网 发布:宣传片制作软件 编辑:程序博客网 时间:2024/06/05 03:19

this.FormBorderStyle = FormBorderStyle.None;         

this.MaximumSize = new Size(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height);    

this.WindowState = FormWindowState.Maximized;

原创粉丝点击