首页 > Windows开发 > 详细

C#设置窗口在右下角显示

时间:2015-01-20 15:13:47      阅读:263      评论:0      收藏:0      [点我收藏+]
            int x = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Size.Width - this.Width;
            int y = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Size.Height - this.Height;
            this.SetDesktopLocation(x, y);

C#设置窗口在右下角显示

原文:http://www.cnblogs.com/donsy/p/4236068.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!