/// <summary> /// Initialize the program: Start the check time and create a new entry for today if one hasn't been created. /// </summary> public TimerScreen() { InitializeComponent(); treatmentStart = new DateTime(2019, 5, 29); //May 29, 2019 oneAM = new DateTime(2019, 5, 22, 1, 0, 0); //1 AM CheckActive.Start(); //Start the activity checking timer SetData(); //setup for the day trackedProcesses = SQLconn.GetTracked(); }
/// <summary> /// Reset the tracked processes list. /// </summary> public void SetTracked() { trackedProcesses = SQLconn.GetTracked(); }