stevegray
4Penny.net
Points: 65559

6/15/2026 2:03:59 PM

Opening non modal forms inside of an MDI parent

* This article, and all our great .NET Development documentation, Is available on the .NET Development menu
Working with MDI applications in WinForms is straightforward—right up until you try to center a child form. Developers often assume that setting StartPosition = CenterParent will place the form in the middle of the MDI container, but MDI children don’t follow the same rules as modal dialogs. Instead, they ignore the setting entirely and appear in the top-left corner. In this article, we’ll walk through a simple, reusable pattern for opening MDI child forms centered inside the parent window, along with clean VB.NET examples you can drop into your project.
4Penny.net
Version: All
Section: .NET Development
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3