예제 #1
0
        /// <summary>
        /// 22 March 2014
        ///Jonathan Sanborn & Harvey Mercado
        ///Initialization Method for control
        ///Sets all values to there default constructors
        /// </summary>
        protected void init()
        {
            fileHandler = new FileHandler(this);
            adminList = new List<Admin>();
            studentList = new List<Student>();
            allUserList = new List<User>();
            problemSetList = new List<ProblemSet>();

            UpdateLocalLists ();

            keepAlive = false; // logout button sets keepAlive to false, form load sets it to true
        }
예제 #2
0
        /// <summary>
        /// 22 March 2014
        ///Jonathan Sanborn & Harvey Mercado
        ///Initialization Method for MMControl
        ///Sets all values to there default constructors
        /// </summary>
        private void init()
        {
            fileHandler = new FileHandler(this);
            AdminList = new List<Admin>();
            StudentList = new List<Student>();
            AllUserList = new List<User>();

            ProblemSetList = new List<ProblemSet>();

            numberOfAttempts = new List<string>();
            numberOfAttemptsDefault = new List<string>();

        }