How can I programmatically set the initial position of a Form so that it is displayed properly after calling ShowDialog()

Platform: WinForms| Category: Layout

In addition to setting the Location property of the form, make sure you also set the StartPosition property of the form to FormStartPosition.Manual.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.