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


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