Beispiel #1
0
 private void btnKilitEkrani_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (frmke == null || frmke.IsDisposed)
     {
         frmke = new frmKilitEkrani();
         frmke.Show();
     }
 }
 private void navBarItem10_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
 {
     if (frmke == null || frmke.IsDisposed)
     {
         frmke = new frmKilitEkrani();
         frmke.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 (frmn != null)
         {
             frmn.Close();
         }
         if (frmsu != null)
         {
             frmsu.Close();
         }
         if (frmg != null)
         {
             frmg.Close();
         }
         if (frmkz != null)
         {
             frmkz.Close();
         }
         if (frmkes != null)
         {
             frmkes.Close();
         }
     }
 }