Exemple #1
0
 private void tsiServerStatistics_Click(object sender, System.EventArgs e)
 {
     if (!globals.IsFormLoaded("frmServerStatistics"))
     {
         frmServerStatistics frm = new frmServerStatistics();
         frm.MdiParent = this;
         frm.Show();
     }
     else
     {
         frmServerStatistics frm = (frmServerStatistics)globals.LoadedForms["frmServerStatistics"];
         frm.Focus();
     }
 }
Exemple #2
0
 private void tsiServerStatistics_Click(object sender, System.EventArgs e)
 {
     if(!globals.IsFormLoaded("frmServerStatistics"))
     {
         frmServerStatistics frm = new frmServerStatistics();
         frm.MdiParent = this;
         frm.Show();
     }
     else
     {
         frmServerStatistics frm = (frmServerStatistics)globals.LoadedForms["frmServerStatistics"];
         frm.Focus();
     }
 }