private void ribbonButton2_Click(object sender, EventArgs e) { foreach (Form f in this.MdiChildren) { if (f.GetType() == typeof(MDIChild1)) { f.Activate(); return; } } Form form = new MDIChild1(); form.MdiParent = this; form.Show(); }