private void toolStripBtnConnect_Click(object sender, EventArgs e) { formChooseServer = new ChooseServer(); formChooseServer.Show(); formChooseServer.FormClosing += FormChooseServer_FormClosing; Enabled = false; }