winform最大化后不遮挡任务栏

在窗体初始化后添加一句代码

this.MaximizedBounds = Screen.PrimaryScreen.WorkingArea;

  

原文地址:https://www.cnblogs.com/wuyihong/p/3488745.html