private void button2_Click(object sender, EventArgs e) { IM im = new IM(8001, 8000); im.Show(); this.button2.Enabled = false; }