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

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

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

你可能感兴趣的:(WinForm)