예제 #1
0
        public AddingNewEventViewModel(BridgeToBd bridge)
        {
            if (bridge == null) throw new ArgumentNullException("bridge");

            _bridge = bridge;

            DatePlanned = DateTime.Now;
        }
예제 #2
0
        public EventEditorViewModel(BridgeToBd bridge)
        {
            if (bridge == null) throw new ArgumentNullException("bridge");
            _bridge = bridge;

            _bridge.ChangingEvent += OnChangingEvent;
            _bridge.ChangingEvents += () =>
            {
                RaisePropertyChanged("Events");
            };
        }
예제 #3
0
        public ShowTodayEventsViewModel(BridgeToBd bridge)
        {
            if (bridge == null) throw new ArgumentNullException("bridge");

            _bridge = bridge;
        }