runliuv

runliuv@cnblogs

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
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); //右上
        }

 

posted on 2014-01-02 10:17  runliuv  阅读(648)  评论(0编辑  收藏  举报