不再设置窗体最大化而是设置窗体的宽高

      this.WindowState = FormWindowState.Normal;
      this.FormBorderStyle = FormBorderStyle.Sizable;
      this.Top = 0;
      this.Left = 0;
      this.Width = Screen.PrimaryScreen.WorkingArea.Width;
      this.Height = Screen.PrimaryScreen.WorkingArea.Height;

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-25
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2022-01-03
  • 2022-12-23
  • 2021-07-31
相关资源
相似解决方案