private void btnSendMessage_Click(object sender, EventArgs e) { client.SendMessage(msgTextBox.Text.ToString()); msgTextBox.Clear(); }
private void btnSendMessage_Click(object sender, EventArgs e) { client.SendMessage(richTextBox2.Text.ToString()); }