public void ShowCalculationExceptionView(CalculationExceptionDTO calculationException) { var view = ServiceLocator.Current.GetInstance <ICalculationExceptionView>(); ((CalculationExceptionVM)view.ViewModel).Load(calculationException); viewManager.ShowInDialog(view); }
public CalculationExceptionVM() { init(); CalculationException = new CalculationExceptionDTO { EmployeeFullName = "sss" }; }
public void Load(CalculationExceptionDTO calculationExceptionParam) { CalculationException = calculationExceptionParam; preLoad(); }
private void init() { CalculationException = new CalculationExceptionDTO(); }