Пример #1
0
        public void ShowCalculationExceptionView(CalculationExceptionDTO calculationException)
        {
            var view = ServiceLocator.Current.GetInstance <ICalculationExceptionView>();

            ((CalculationExceptionVM)view.ViewModel).Load(calculationException);
            viewManager.ShowInDialog(view);
        }
Пример #2
0
 public CalculationExceptionVM()
 {
     init();
     CalculationException = new CalculationExceptionDTO {
         EmployeeFullName = "sss"
     };
 }
Пример #3
0
 public void Load(CalculationExceptionDTO calculationExceptionParam)
 {
     CalculationException = calculationExceptionParam;
     preLoad();
 }
Пример #4
0
 private void init()
 {
     CalculationException = new CalculationExceptionDTO();
 }