public ReminderWindowViewModel(ViewModel viewModel, RadScheduleView scheduleView)
 {
     this.MainViewModel = viewModel;
     this.MainViewModel.PropertyChanged += MainViewModel_PropertyChanged;
     this.DismissCommand = new DelegateCommand(this.DismissCommandExecuted, this.DismissCommandCanExecute);
     this.SnoozeCommand = new DelegateCommand(this.SnoozeCommandExecuted, this.SnoozeCommandCanExecute);
     this.ScheduleView = scheduleView;
     this.EditAppointmentCommand = new DelegateCommand(this.EditAppointmentCommandExecuted, this.EditAppointmentCommandCanExecute);
 }
Exemplo n.º 2
0
 public Example()
 {
     viewModel        = new ViewModel(this.scheduleView);
     this.DataContext = viewModel;
     InitializeComponent();
 }
Exemplo n.º 3
0
 public Example()
 {
     InitializeComponent();
     viewModel = new ViewModel(this.scheduleView);
     this.DataContext = viewModel;
 }