private void buttonOK_Click(object sender, EventArgs e) { //client.SendMessage("general", textBoxMessage.Text, textBoxPM.Text); client.SendMessage(currentChannel.GetName(), textBoxMessage.Text, textBoxPM.Text); textBoxMessage.Text = ""; }