Пример #1
0
 private void disconnectButton_Click(object sender, EventArgs e)
 {
     client.EndConnection();
     connectButton.Enabled    = true;
     disconnectButton.Enabled = false;
     sendMsgButton.Enabled    = false;
 }