Пример #1
0
            public OperationEntryCellViewModel GetEntryCellForDay(DayOfWeekViewModel day)
            {
                Guard.NotNull(() => day, day);

                OperationEntryCellViewModel result = null;

                lock (_entryCells) {
                    if (!_entryCells.TryGetValue(day.Index, out result))
                    {
                        _entryCells.Add(day.Index, result = new OperationEntryCellViewModel(this, day));
                    }
                }

                return(result);
            }
Пример #2
0
 public void HoursEntered(OperationEntryCellViewModel cell)
 {
     RaisePropertyChanged(() => TotalHoursForServiceOrderDay);
 }
Пример #3
0
            public void HoursEntered(OperationEntryCellViewModel cell)
            {
                RaisePropertyChanged(() => TotalHoursForOperation);

                _parent.HoursEntered(cell);
            }
Пример #4
0
 public void HoursEntered(OperationEntryCellViewModel cell)
 {
     Update();
 }