Exemplo n.º 1
0
 private void btnMusteriekle_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (Application.OpenForms["MusteriEkle"] == null)
     {
         MusteriEkle frm = new MusteriEkle();
         frm.MdiParent = this;
         frm.Show();
     }
 }
Exemplo n.º 2
0
        private void btnYeniKayit_Click(object sender, EventArgs e)
        {
            MusteriEkle frm = new MusteriEkle();

            if (Application.OpenForms["MusteriEkle"] == null)
            {
                frm.MdiParent = AnaForm.ActiveForm;
                frm.Show();
            }
            else
            {
                this.ActivateMdiChild(Application.OpenForms["MusteriEkle"]);
            }
        }