Form coordinate

  • Thread starter Thread starter MAY
  • Start date Start date
M

MAY

hi,

I have two forms, how can i put a form on another form at a particular
corrdinate, e.g. point(10, 10).....

form1.Location=???

Thanks!

MAY
 
Hi MAY,

Yes, you would use Location, but you also need to set the form's
StartPosition = Manual, or Windows will just override your settings.

Happy coding!
Morten Wennevik [C# MVP]
 
You nearly replied yourself to your question

form.Location=new Point(10,10);

HTH
Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top