Пример #1
0
        private void InitializeForm()
        {
            userControl = new ctrlStudents();
            cwControl = new ctrlCourseware();
            seatPlanControl = new ctrlSeatPlan();
            activity = new ctrlActivity();

            List<MySqlParameter> param = new List<MySqlParameter>();
            param.Add(new MySqlParameter("@cid", CID));

            classArea = MySQLCommands.GetValue("select area from tbl_area where tbl_area.area_id = (select area_id from tbl_classarea where CID = @cid)", param);

            LoadSwitches();

            SetClass();
            LoadModules(userlvl);
            StartPoll();
        }
Пример #2
0
 private void InitializeForm()
 {
     userControl = new ctrlStudents();
     LoadModules();
 }