Exemple #1
0
        //   ###   Methods   ###   //

        /// <summary>
        /// Method load list of admins from the server
        /// </summary>
        public void Load_Admins_List()
        {
            // Create instance of Database Connection
            Classes.Database conn = new Classes.Database();

            // Load list of users from server
            conn.Select_Admins(ref Admins_List);

            // Check error flag
            if (conn.Error_Flag)
            {
                // Set main error flag as true
                Error_Flag = true;
                // Set main error message
                Error_Message = conn.Error_Message;
            }
        }