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