Esempio n. 1
0
        private void InitializeForm()
        {
            cwControl = new ctrlCourseware();

            panelControlCW.Controls.Add(cwControl);

            StartPoll();
        }
Esempio n. 2
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();
        }