Example #1
0
 private void btnRadyo_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (frmr == null || frmr.IsDisposed)
     {
         frmr           = new frmRadyo();
         frmr.MdiParent = this;
         frmr.Show();
     }
 }
 private void navBarItem8_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
 {
     if (frmr == null || frmr.IsDisposed)
     {
         frmr = new frmRadyo();
         frmr.Show();
         if (frmog != null)
         {
             frmog.Close();
         }
         if (frmoc != null)
         {
             frmoc.Close();
         }
         if (frmoy != null)
         {
             frmoy.Close();
         }
         if (frmmk != null)
         {
             frmmk.Close();
         }
         if (frmn != null)
         {
             frmn.Close();
         }
         if (frmke != null)
         {
             frmke.Close();
         }
         if (frmsu != null)
         {
             frmsu.Close();
         }
         if (frmg != null)
         {
             frmg.Close();
         }
         if (frmkz != null)
         {
             frmkz.Close();
         }
         if (frmkes != null)
         {
             frmkes.Close();
         }
     }
 }