コード例 #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;
        }