コード例 #1
0
        /**
         * Method to update the schedule table
         */
        private void UpdateSchedule()
        {
            // Clear table
            lBoxEmpHistory.Items.Clear();
            this.dataEmpWorkSchedule.Rows.Clear();
            department.GetSchedules().Clear();
            MySqlDataReader reader = dataBase.updateSchedules();

            this.GetWorkScheduleDB(reader);
            updateTimer.Enabled = false;
        }
        /**
         * Method to update the schedule table
         */
        private void UpdateSchedule()
        {
            this.dataAdminWorkSchedule.Rows.Clear();
            department.GetSchedules().Clear();

            MySqlDataReader reader = dataBase.updateSchedules();

            this.GetWorkScheduleDB(reader);

            updateTimer.Enabled = false;
        }