Beispiel #1
0
 private void EnterButton_Click(object sender, RoutedEventArgs e)
 {
     if (TypingTextBox.IsFocused)
     {
         _sender.Send(true);
         TypingTextBox.Text = "";
     }
     else if (TokenTextBox.IsFocused)
     {
         TypingTextBox.Focus();
     }
 }
Beispiel #2
0
 private void OnLoaded(object sender, RoutedEventArgs e)
 {
     TypingTextBox.Focus();
 }