Пример #1
0
 private void ScanTextBox_KeyUp(object sender, System.Windows.Input.KeyEventArgs e)                          // Method what adds new OperationItem in "Operation" Tab on "Enter" button click
 {
     if (e.Key != System.Windows.Input.Key.Enter)
     {
         return;
     }
     e.Handled = true;
     _viewModel.AddNewOperationItem();
     _viewModel.CaltulateSum();
 }