private void yeniMüşteriEkleToolStripMenuItem_Click(object sender, EventArgs e) { Form frm = new Form(); MusteriEkle c = new MusteriEkle(); c.Show(); }
private void müşteriEkleToolStripMenuItem_Click(object sender, EventArgs e) { Form kontrol = Application.OpenForms["MusteriEkle"]; if (kontrol == null) { MusteriEkle acılan = new MusteriEkle(yetkili); acılan.MdiParent = this; acılan.StartPosition = FormStartPosition.CenterParent; AnaPanel.Controls.Add(acılan); acılan.Show(); } else { Temp = Application.OpenForms["MusteriEkle"]; Temp.Focus(); } }