void timer_UpdateUI(object sender, EventArgs e) // aggiorna il timer dell'interfaccia { string elapsedTimeString = timeTracker.GetCurrentTime(); currentUITime.Text = elapsedTimeString; inTimeIcon.Text = currentAssignment.Project.ProjectName + ": " + elapsedTimeString; }
public DateTime GetCurrentTime() { return(TimeTracker.GetCurrentTime()); }