摘要:
//控制默认窗体的高度和宽度 this.Height this.Width //控制默认窗体的位置 this.Top this.Left //设置为默认窗体,最大化窗体,最小化窗体 this.WindowState = FormWindowState.Normal; this.WindowState 阅读全文
摘要:
Rectangle ScreenArea = Screen.GetWorkingArea(this); this.Size = new Size(100,ScreenArea.Height);//设置为屏幕高度 阅读全文