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.