I have a form called Form1. Its set to startup-Position = Center but when executed it opens up somewhere else (At a random position evrytime).
I am working under Windows XP SP3 , using IDE Visual Studio – 2010. Please provide a workaround to this problem.
I have uploaded a sample project showing the above mentioned problem .
Download link:
You have to set:
Edit:
Here is a working sample:
Edit 2:
Here is the improved code based on comments by Hans Passant, (much better):