private void yeniMüşteriEkleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form        frm = new Form();
            MusteriEkle c   = new MusteriEkle();

            c.Show();
        }
Пример #2
0
        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();
            }
        }