private void button2_Click(object sender, EventArgs e) { server.stop(); button2.Enabled = false; button1.Enabled = true; }