Beispiel #1
0
 public ViewModel(RadScheduleView sv)
 {
     dispatcherTimer = new System.Windows.Threading.DispatcherTimer();
     dispatcherTimer.Tick += new EventHandler(dispatcherTimer_Tick);
     dispatcherTimer.Interval = new TimeSpan(0, 0, 30);
     dispatcherTimer.Start();
     reminderViewModel = new ReminderWindowViewModel(this, sv);
     reminderWindow = new ReminderWindow() { DataContext = reminderViewModel };
 }
Beispiel #2
0
 public ViewModel(RadScheduleView sv)
 {
     dispatcherTimer          = new System.Windows.Threading.DispatcherTimer();
     dispatcherTimer.Tick    += new EventHandler(dispatcherTimer_Tick);
     dispatcherTimer.Interval = new TimeSpan(0, 0, 10);
     dispatcherTimer.Start();
     reminderViewModel = new ReminderWindowViewModel(this, sv);
     reminderWindow    = new ReminderWindow()
     {
         DataContext = reminderViewModel
     };
 }