Beispiel #1
0
 private void tbMessage_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Enter)
     {
         if (client != null)
         {
             client.Send_Message(tbMessage.Text, ID);
             tbMessage.Text = string.Empty;
         }
     }
 }