示例#1
0
 private void ListBoxCharacterData_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Return && ListBoxCharacterData.SelectedItem != null)
     {
         CharacterInfo.Focus();
         CharacterInfo.BeginEdit();
     }
     e.Handled = true;
 }