I have a winform that I would like to open on the centre of the parent form, which is already a mdiChild
(i.e. I cannot set is mdiContainer
on the parent). Below is the code I use. The form I create always opens on the top-left corner of whichever parent I assign to it, which is frustrating...
loadingCircle = new Loading(Title);
loadingCircle.TopLevel = false;
loadingCircle.Parent = this;
loadingCircle.Show();
loadingCircle.BringToFront();
I have got the StartPosition
switched to CenterParent
in the designer, however it does not seem to do anything...
Am I missing something obvious?