现在的位置: 首页 > 综合 > 正文

实现在屏幕左下角显示窗口

2013年03月24日 ⁄ 综合 ⁄ 共 231字 ⁄ 字号 评论关闭

 在   Form1_Load   事件中添加     
   

      Rectangle E = Screen.PrimaryScreen.Bounds;
            Point p = new Point(Screen.PrimaryScreen.WorkingArea.Width - this.Width, Screen.PrimaryScreen.WorkingArea.Height - this.Height);
            this.Location = p;

抱歉!评论已关闭.