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

this.MaximizedBounds = Screen.PrimaryScreen.WorkingArea;

  

相关文章: