load函数末尾加:
System.Drawing.Rectangle rec = Screen.GetWorkingArea(this); int SH = rec.Height; int SW = rec.Width; this.Width = SW; this.Height = SH;
load函数末尾加:
System.Drawing.Rectangle rec = Screen.GetWorkingArea(this); int SH = rec.Height; int SW = rec.Width; this.Width = SW; this.Height = SH;