Esempio n. 1
0
        /// <summary>
        /// 获得全部列表
        /// </summary>
        /// <returns>ArrayList(SysClass)</returns>
        public static ArrayList List()
        {
            SysClass    o;
            enuSysClass e        = new enuSysClass();
            ArrayList   alReturn = new ArrayList();
            int         i;

            for (i = 0; i <= System.Enum.GetValues(e.GetType()).GetUpperBound(0); i++)
            {
                o      = new SysClass();
                o.ID   = (enuSysClass)i;
                o.Memo = i.ToString();
                alReturn.Add(o);
            }
            return(alReturn);
        }