Пример #1
0
        //读取当前用户设定的样式
        public StyleSet ReadCurrent()
        {
            StyleSet CurrentStyle ;
            XmlElement Result;

            //新建数据库读写代理对象
            dbHandler = new DataProxy();
            //获取路径下文件所有数据
            Result = dbHandler.ReadIndexOf(strTablePath, 0);
            if (Result == null)
            {
                return null;
            }
            //从数据生成样式集
            CurrentStyle = new StyleSet(Result);
            return CurrentStyle;
        }
Пример #2
0
        //读取当前用户设定的样式
        public StyleSet ReadCurrent()
        {
            StyleSet   CurrentStyle;
            XmlElement Result;

            //新建数据库读写代理对象
            dbHandler = new DataProxy();
            //获取路径下文件所有数据
            Result = dbHandler.ReadIndexOf(strTablePath, 0);
            if (Result == null)
            {
                return(null);
            }
            //从数据生成样式集
            CurrentStyle = new StyleSet(Result);
            return(CurrentStyle);
        }