private void btnSwitchServer_Click(object sender, EventArgs e) { if (!switchOpen && formSelectTicket.hostEnable) { switchOpen = true; formSwitchServer fss = new formSwitchServer(); fss.Show(); } }
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(); } }
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(); } }
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(); } }
private void btnSwitchServer_Click(object sender, EventArgs e) { if (!switchOpen&&formSelectTicket.hostEnable) { switchOpen = true; formSwitchServer fss = new formSwitchServer(); fss.Show(); } }