load函数末尾加:

System.Drawing.Rectangle rec = Screen.GetWorkingArea(this);

            int SH = rec.Height;

            int SW = rec.Width;
            this.Width = SW;
            this.Height = SH;

 

相关文章:

  • 2021-10-30
  • 2021-11-17
  • 2022-01-25
  • 2021-10-16
  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
  • 2021-05-01
  • 2021-10-26
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案