Place WinForm On Bottom-Right

前端 未结 5 1698
盖世英雄少女心
盖世英雄少女心 2020-12-10 23:47

How can I place a form at the bottom-right of the screen when it loads using C#?

5条回答
  •  既然无缘
    2020-12-11 00:39

    In you form constructor put the following code:

    StartPosition = FormStartPosition.Manual;
    

    This will set the start position of the form to whatever you set as the value for the form's location (you can set this in the form designer).

提交回复
热议问题