Exemple #1
0
 private void btnNotlar_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (frmn == null || frmn.IsDisposed)
     {
         frmn           = new frmNotlar();
         frmn.MdiParent = this;
         frmn.Show();
     }
 }
 private void navBarItem1_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
 {
     if (frmn == null || frmn.IsDisposed)
     {
         frmn = new frmNotlar();
         frmn.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 (frmsu != null)
         {
             frmsu.Close();
         }
         if (frmg != null)
         {
             frmg.Close();
         }
         if (frmkz != null)
         {
             frmkz.Close();
         }
     }
 }