Пример #1
0
 private void btnKasa_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (frm14 == null || frm14.IsDisposed)
     {
         frm14           = new frmKasa();
         frm14.ad        = kullanici;
         frm14.MdiParent = this;
         frm14.Show();
     }
 }
Пример #2
0
        private void btnKasa_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmKasa kasa = new frmKasa();

            if (kasa == null)
            {
                kasa           = new frmKasa();
                kasa.AD        = kullanici;
                kasa.MdiParent = this;
                kasa.Show();
            }
        }