public void CreateDisposalRequestInstanceEndOfOgl() { DisposalRequest _newItem = DisposalRequest.Create(listOfAccounts, groupOfDisposals, (x, y) => { }); AssertConstantValues(_newItem); _newItem.AutoCalculation = true; _newItem.EndOfOgl(); AssertButtonsCanExecute(_newItem); AssertConstantValues(_newItem); AssertValues(_newItem, 6020.0, 89, 16020.0, 16020.0, 19080.0); }
private void x_ButtonEndOfOgl_Click(object sender, RoutedEventArgs e) { try { DisposalRequest _request = this.x_DataGridListView.SelectedItem as DisposalRequest; if (_request == null) { return; } _request.EndOfOgl(); } catch (Exception _ex) { ExceptionHandling(_ex); } }