private void ProductName_KeyDown(object sender, KeyEventArgs e) { if (e.Key == Key.Enter) { TransactionType.Focus(); } }