private void tracker_OnTaskStarted(Birko.TimeTracker.Entities.Task task) { if (task != null) { this.labelTaskName.Content = task.FullName; this.labelTaskDuration.Content = task.Duration.ToString("c"); this.buttonStopTracking.IsEnabled = true; } this.RefreshTaskList(); }
void tracker_OnTaskDeleted(Birko.TimeTracker.Entities.Task task) { this.RefreshTaskList(); }
void tracker_OnTaskEnded(Birko.TimeTracker.Entities.Task task) { this.labelTaskName.Content = string.Empty; this.labelTaskDuration.Content = string.Empty; this.buttonStopTracking.IsEnabled = false; this.RefreshTaskList(); }
void Tracker_OnTaskStarted(Birko.TimeTracker.Entities.Task task) { this.RefreshData(); }