int x =(System.Windows.Forms.SystemInformation.WorkingArea.Width -this.Size.Width);
int y =(System.Windows.Forms.SystemInformation.WorkingArea.Height -this.Size.Height);this.StartPosition = FormStartPosition.Manual;//窗体的位置由Location属性决定this.Location =(Point)newSize(x, y);//窗体的起始位置为(x,y)
publicMonitor(){InitializeComponent();
int x =(System.Windows.Forms.SystemInformation.WorkingArea.Width -this.Size.Width)/1;//设置窗体打开默认在右下角显示
int y =(System.Windows.Forms.SystemInformation.WorkingArea.Height -this.Size.Height)/1;this.StartPosition = FormStartPosition.Manual;//窗体的位置由Location属性决定this.Location =(Point)newSize(x, y);//窗体的起始位置为(x,y)}
int x = (System.Windows.Forms.SystemInformation.WorkingArea.Width - this.Size.Width);int y = (System.Windows.Forms.SystemInformation.WorkingArea.Height - this.Size.Height) ;this.StartPosition = Form...