摘要: //根据屏幕大小设置窗体初始大小//Rectangle rect = System.Windows.Forms.SystemInformation.VirtualScreen;Rectangle rect = SystemInformation.WorkingArea;this.Height = rect.Height;this.Width = rect.Width;//根据屏幕大小设置窗体最大化大小this.MaximizedBounds = new Rectangle(rect.X, rect.Y, rect.Width - 2, rect.Height - 2); 阅读全文
posted @ 2011-12-31 17:05 bdstjk 阅读(929) 评论(0) 推荐(0) 编辑