private void MessageBox_TextChanged(object sender, string text) { if (chatRoom != null && text.Length > 0) { chatRoom.Compose(); } }