Form cannot be both an MDI child and MDI parent.
But Form Show in MDI Parent Form
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rafnas T PRank #280 · 8.8K reputationPosted Jul 11, 2017, 10:39 PM EDT
abc.StartPosition = FormStartPosition.CenterScreen;
abc.ShowDialog();
Shweta LodhaRank #31 · 39.8K reputationPosted Jul 10, 2017, 9:59 PM EDT
Shweta LodhaRank #31 · 39.8K reputationPosted Jul 10, 2017, 11:11 PM EDT
Rajkiran SwainRank #165 · 14.4K reputationPosted Jul 10, 2017, 11:16 PM EDT
Jyoti JodhaRank #1,408 · 1.2K reputationPosted Jul 10, 2017, 10:10 PM EDT
abc.StartPosition = FormStartPosition.CenterScreen;
abc.Show();
Jyoti JodhaRank #1,408 · 1.2K reputationPosted Jul 10, 2017, 11:55 PM EDT
f1.MdiParent = this;
this.WindowState = FormWindowState.Maximized;
// f1.StartPosition = FormStartPosition.CenterScreen;
this.Location = new Point(0, 0);
this.Size = Screen.PrimaryScreen.WorkingArea.Size;
f1.Show();
abc.StartPosition = FormStartPosition.CenterScreen;
abc.Show();