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

this.MaximizedBounds = Screen.PrimaryScreen.WorkingArea;

  

05-26 23:52