private void btSend_Click(object sender, EventArgs e) { if (txtMessage.TextLength > 0) { clientService.Send(txtMessage.Text); txtMessage.Text = string.Empty; } }