Пример #1
0
 private void btnSwitchServer_Click(object sender, EventArgs e)
 {
     if (!switchOpen && formSelectTicket.hostEnable)
     {
         switchOpen = true;
         formSwitchServer fss = new formSwitchServer();
         fss.Show();
     }
 }
Пример #2
0
 private void tsbtnServerSwitch_Click(object sender, EventArgs e)
 {
     if (!switchisalive && hostEnable && !FormLogin.SwitchOpen)
     {
         switchisalive = true;
         var ff = new formSwitchServer();
         ff.FormClosed += (ss, ee) => { switchisalive = false; };
         ff.Show();
     }
 }
Пример #3
0
 private void btnSwitchServer_Click(object sender, EventArgs e)
 {
     if (!SwitchOpen && formSelectTicket.hostEnable)
     {
         SwitchOpen = true;
         var ff = new formSwitchServer();
         ff.FormClosed += (ss, ee) => { SwitchOpen = false; };
         ff.Show();
     }
 }
Пример #4
0
 private void lblAutoSwitch_Click(object sender, EventArgs e)
 {
     //plAutoSwitch.Visible = !plAutoSwitch.Visible;
     if (!switchisalive&&hostEnable&&!formLogin.switchOpen)
     {
         switchisalive = true;
         formSwitchServer fss = new formSwitchServer();
         fss.Show();
     }
 }
Пример #5
0
 private void btnSwitchServer_Click(object sender, EventArgs e)
 {
     if (!switchOpen&&formSelectTicket.hostEnable)
     {
         switchOpen = true;
         formSwitchServer fss = new formSwitchServer();
         fss.Show();
     }
 }