首页 > 技术文章 > FormBorderStyle.None 时候最大化不遮盖任务栏

xm_cpppp 2014-02-07 11:01 原文

this.FormBorderStyle = FormBorderStyle.None;
            this.MaximumSize = new Size(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height);
            this.WindowState = FormWindowState.Maximized;
 
转自:http://wisecn.blog.163.com/blog/static/19755864520120644738257/

推荐阅读