示例#1
0
 private void MessageWindow_Loaded(object sender, RoutedEventArgs e)
 {
     if (this.MessageType != MessageWindowType.TextInput)
     {
         return;
     }
     Activate();
     TextInputField.Focus();
     Keyboard.Focus(TextInputField);
     TextInputField.SelectAll();
 }