Beispiel #1
0
        /// <summary>
        /// 添加文档
        /// </summary>
        /// <param name="mxdFile"></param>
        public void LoadMXD(string mxdFile)
        {
            //axMapControl1.LoadMxFile(mxdFile);
            mapDocument = new MapDocumentClass();

            mapDocument.Open(mxdFile);
            axMapControl1.Map = mapDocument.Map[0];
            axMapControl1.Refresh();
            //mxdfile 路径 写入数据库
            SoftwareConfig.Refresh(JTSYQMxdPathReids, mxdFile);
        }
Beispiel #2
0
        public void SaveRedis()
        {
            string str = ReflectManager.JObejctReflect.ObjectToStr(this);

            SoftwareConfig.Refresh(ExportDataPageRides, str);
        }