Esempio n. 1
0
 private void UpdateDesktopWindow(TimeEntryTimerService obj)
 {
     if (ActiveDeskTopTask != null)
     {
         ActiveDeskTopTask.ApplyViewModel(new DesktopTaskViewModel(obj));
     }
 }
Esempio n. 2
0
        private void LoadDesktopTask(TimeEntryTimerService timeEntryTimerService)
        {
            var isOpen = ActiveDeskTopTask != null;


            if (!isOpen)
            {
                ActiveDeskTopTask = new DesktopTaskView.DesktopTaskView();
                ActiveDeskTopTask.Show();
            }
            ActiveDeskTopTask.ApplyViewModel(new DesktopTaskViewModel(timeEntryTimerService));
        }