FormBorderStyle.None 时候最大化不遮盖任务栏

this.FormBorderStyle = FormBorderStyle.None;
            this.MaximumSize = new Size(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height);
            this.WindowState = FormWindowState.Maximized;
 
posted @ 2014-02-07 11:01  牧马  阅读(540)  评论(0编辑  收藏  举报