FormStartPosition.CenterParent does not work
This is because you are not telling f2 who its Parent is. If this is an MDI application, then f2 should have its MdiParent set to f1. Form f2 = new Form() { Width = 400, Height = 300 }; f2.StartPosition = FormStartPosition.CenterParent; f2.MdiParent = f1; f2.Show(); If this is not an MDI application, then … Read more