private void FrmMyShow_Load(object sender, EventArgs e)
        {
            Rectangle r = Screen.GetWorkingArea(this);
            
            //this.Location = new Point(r.Right - this.Width, r.Bottom - this.Height); //右下

            //this.Location = new Point(0, r.Bottom - this.Height); //左下

            //this.Location = new Point(0, 0); //左上

            this.Location = new Point(r.Right - this.Width, 0); //右上
        }

 

相关文章:

  • 2022-01-03
  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2019-09-12
  • 2022-12-23
  • 2022-03-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案