private void Button3_Click(System.Object sender, System.EventArgs e) { TextBox1.Enabled = true; Button2.Enabled = true; Button3.Enabled = false; _s.disconnect(); }