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

this.FormBorderStyle = FormBorderStyle.None;
            this.MaximumSize = new Size(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height);
            this.WindowState = FormWindowState.Maximized;
 
原文地址:https://www.cnblogs.com/xm_cpppp/p/3539269.html