//---------- Load App Monitoring ---------- void LoadStatistics() { try { if (File.Exists(PathMS + "/Stats/Today.sts")) { SaveWriter save = new SaveWriter(PathMS + "/Stats/Today.sts"); save.Load(); if (save.GetItemInt("Day") == DateTime.Now.Day) { allhour = save.GetItemInt("Hours"); allmin = save.GetItemShort("Mins"); } } }catch (Exception ex) { DebugService.WriteError("" + ex); } }