Reputation: 47
I have to develop a windows application so I Like When execute my project want to show a form top-left side of a screen. I don't know how to do this please help me ....
Upvotes: 2
Views: 5623
Reputation: 387
you have to add code in your form method like..
public Form1()
{
InitializeComponent();
this.StartPosition = FormStartPosition.Manual;
this.Location = new Point(0, 0);
}
its work for me...
Upvotes: 6
Reputation: 2180
In your form load put this line :
this.Location = new Point(0, 0);
Upvotes: 0