Ejemplo n.º 1
0
 private void navBarItem9_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
 {
     if (frmkes == null || frmkes.IsDisposed)
     {
         frmkes = new frmKullaniciEkleSil();
         frmkes.Show();
         if (frmog != null)
         {
             frmog.Close();
         }
         if (frmoc != null)
         {
             frmoc.Close();
         }
         if (frmoy != null)
         {
             frmoy.Close();
         }
         if (frmmk != null)
         {
             frmmk.Close();
         }
         if (frmr != null)
         {
             frmr.Close();
         }
         if (frmke != null)
         {
             frmke.Close();
         }
         if (frmn != null)
         {
             frmn.Close();
         }
         if (frmg != null)
         {
             frmg.Close();
         }
         if (frmkz != null)
         {
             frmkz.Close();
         }
         if (frmsu != null)
         {
             frmsu.Close();
         }
     }
 }
Ejemplo n.º 2
0
 private void btnKullaniciEkleSil_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (frmkes == null || frmkes.IsDisposed)
     {
         frmkes           = new frmKullaniciEkleSil();
         frmkes.MdiParent = this;
         frmkes.Show();
         if (frmke != null)
         {
             frmke.Close();
         }
         if (frmsu != null)
         {
             frmsu.Close();
         }
     }
 }