private void OnCounterLiavingTimeEnd() { SQLConnector.set_log_liaving_time(DateTime.Now); Text_block_2_opacity = 1; Text_block_2 = SQLConnector.get_log_liaving_time(DateTime.Today); ViewProgressBar = false; start_auto_update(); }
public static void add_log_liaving_time(DateTime date, TimeSpan time) { SQLConnector.set_log_liaving_time(date + time); }