コード例 #1
0
 private void LedgerName_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Enter)
     {
         UnderName.Focus();
     }
 }
コード例 #2
0
 public AddUnder()
 {
     InitializeComponent();
     this.PreviewKeyDown += new KeyEventHandler(HandleEsc);
     UnderName.Focus();
 }