Ejemplo n.º 1
0
        private void InitializeForm()
        {
            //init controls
            userControl = new ctrlUser(uid, userlvl, string.Empty, string.Empty, area);
            fileControl = new ctrlFiles(uid, userlvl, string.Empty, string.Empty, area);
            classControl = new ctrlClass(uid, userlvl, area, string.Empty, string.Empty);
            homeControl = new ctrlHome();


            SetUser();
            SetArea();
            LoadModules();
            InactivityDetector();

            //Poll DB
            StartPoll();

            //Show Home
            ShowControl(homeControl);
            LoadHome();

            StartSlide();
        }
Ejemplo n.º 2
0
        private void InitializeForm()
        {
            //userControl = new ctrlUser(this);
            //fileControl = new ctrlFiles(uid,userlvl);
            //classControl = new ctrlClass();
            homeControl = new ctrlHome();

            SetUser();
            LoadSwitches();
            LoadModules(userlvl);
            LoadHome();
            InactivityDetector();
        }