让 winform 窗体启动时位于屏幕右下角

/// <summary>
/// Form1 的构造函数
/// </summary>
public Form1()
{
InitializeComponent();

this.Left = Screen.PrimaryScreen.WorkingArea.Right - this.Width;
this.Top = Screen.PrimaryScreen.WorkingArea.Bottom - this.Height;
}

posted @ 2011-04-14 07:52  梦幻泡影  阅读(714)  评论(1编辑  收藏  举报