public DocumentControlViewModel(Window win)
            : base(win)
        {
            OkCommand     = new RelayCommand(OnOkCommand, OkCommandCanExecute);
            CancelCommand = new RelayCommand(OnCancelCommand);

            mResultSalaryDate        = DateTime.Now;
            mResultSalaryDateString  = mResultSalaryDate.ToString("d");
            mResultSalaryDateChanged = true;

            mEmployeeListDBConfiguration = new EmployeeListDBConfiguration();
            mSelectedSalaryPlanItem      = mEmployeeListDBConfiguration.EmployeeListDB.SalaryPlans.First();
        }
Esempio n. 2
0
 public void Setup()
 {
     mEmployeeListDBConfiguration = new EmployeeListDBConfiguration();
 }