private void cihazİzlemEkranıToolStripMenuItem_Click(object sender, EventArgs e) { if (Utility.OpenForms.ContainsKey("frmCihazIzlem")) { frmCihazIzlem f = (frmCihazIzlem)Utility.OpenForms["frmCihazIzlem"]; f.Show(); } else { frmCihazIzlem f = new frmCihazIzlem(); Utility.OpenForms.Add(f.Name, f); f.MdiParent = this; f.Text = (sender as ToolStripDropDownItem).Text; f.MdiParent = this; f.Show(); } }