Example #1
0
        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;
        }
Example #2
0
 public DateTime GetCurrentTime()
 {
     return(TimeTracker.GetCurrentTime());
 }