基于AE10.4+VS2013校园基建管理系统开发.rar


本系统能够实现GIS的基本功能,系统较为基础,有SQL Server数据库数据,有登陆界面及注册功能,可修饰加工,适用于地信测绘开发入门,功能包括:添加文件,地图放大缩小、比例放大缩小、地图漫游、全图显示、距离量测、面积量测、移除图层、打开属性表、鹰眼等。
资源截图
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ESRI.ArcGIS.Carto;
using ESRI.ArcGIS.Controls;
using ESRI.ArcGIS.DataSourcesFile;
using ESRI.ArcGIS.DataSourcesGDB;
using ESRI.ArcGIS.Display;
using ESRI.ArcGIS.esriSystem;
using ESRI.ArcGIS.Geodatabase;
using ESRI.ArcGIS.Geometry;
using ESRI.ArcGIS.GlobeCore;
using ESRI.ArcGIS.Output;
using ESRI.ArcGIS.SystemUI;
using WindowsFormsApplication3.command;
using MyGis.Forms;
namespace WindowsFormsApplication3
{
    public partial class Form1 : DevComponents.DotNetBar.RibbonForm
    {
         private ilayer currentlayer;
         private FrmAttributesTable FrmAttributesTable;
        //构造函数
        public Form1()
        {
            InitializeComponent();
        }

        private void ribbonTabItem1_Click(object sender EventArgs e)
        {

        }

        //地图放大
        private void buttonItem14_Click(object sender EventArgs e)
        {
            ICommand command = new ControlsMapZoomInTool();
            command.OnCreate(axMapControl1.object);
            axMapControl1.CurrentTool = command as ITool;
        }
        //地图缩小
        private void buttonItem15_Click(object sender EventArgs e)
        {
            ICommand command = new ControlsMapZoomOutTool();
            command.OnCreate(axMapControl1.object);
            axMapControl1.CurrentTool = command as ITool;

        }
        //比例放大
        private void buttonItem16_Click(object sender EventArgs e)
        {
            ICommand command = new ControlsMapZoomInFixedCommand();
            command.OnCreate(axMapControl1.GetOcx());
            command.onclick();
        }
        //比例缩小
        private void buttonItem17_Click(object sender EventArgs e)
        {
            ICommand command = new ControlsMapZoomOutFixedCommand();
            command.OnCreate(axMapControl1.GetOcx());
            command.onclick();
        }
        //地图漫游
        private void buttonItem18_Click(object sender EventArgs e)
        {
            ICommand command = new ControlsMapPanTool();
            command.OnCreate(axMapControl1.object);
            axMapControl1.CurrentTool = command as ITool;
        }
        //全图显示
        private void buttonItem19_Click(object sender EventArgs e)
        {
            ICommand command = new ControlsMapFullExtentCommand();
            command.OnCreate(axMapControl1.object);
            command.onclick();
        }
        //添加数据
        private void buttonItem20_Click(object sender EventArgs e)
        {
             FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog();
            folderBrowserDialog.Description = “请选择数据文件“;
            if (folderBrowserDialog.ShowDialog() == DialogResult.OK)
            {
                //若普通文件,则不操

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     70144  2019-06-23 18:02  校园基建管理系统WindowsFormsApplication3.vsWindowsFormsApplication3v14.suo

     文件        445  2019-06-19 17:14  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3app.config

     文件    1350144  2019-06-26 10:31  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3inDebugWindowsFormsApplication3.exe

     文件        445  2019-06-19 17:14  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3inDebugWindowsFormsApplication3.exe.config

     文件     284160  2019-06-26 10:31  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3inDebugWindowsFormsApplication3.pdb

     文件      23168  2019-06-26 10:31  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3inDebugWindowsFormsApplication3.vshost.exe

     文件        445  2019-06-19 17:14  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3inDebugWindowsFormsApplication3.vshost.exe.config

     文件        490  2016-07-16 19:44  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3inDebugWindowsFormsApplication3.vshost.exe.manifest

     文件        246  2019-06-18 09:11  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3commandArea1.bmp

     文件       5359  2019-06-18 09:15  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3commandArea1.cs

     文件        326  2019-06-18 09:11  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3commandArea1.cur

     文件        246  2019-06-17 15:17  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3commandMeasure_length.bmp

     文件       5364  2019-06-17 15:19  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3commandMeasure_length.cs

     文件        326  2019-06-17 15:17  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3commandMeasure_length.cur

     文件      11733  2019-06-21 14:16  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3Form1.cs

     文件      59740  2019-06-21 14:16  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3Form1.Designer.cs

     文件      32254  2019-06-21 14:16  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3Form1.resx

     文件       3761  2019-06-20 17:32  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3Form2.cs

     文件       7916  2019-06-20 10:15  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3Form2.Designer.cs

     文件       5817  2019-06-20 10:15  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3Form2.resx

     文件        405  2019-06-20 14:02  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3Form3.cs

     文件       1184  2019-06-20 14:02  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3Form3.Designer.cs

     文件       5817  2019-06-20 14:02  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3Form3.resx

     文件       5143  2019-06-20 14:12  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3FormQuery.cs

     文件       6592  2019-06-20 14:12  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3FormQuery.Designer.cs

     文件       5817  2019-06-20 14:12  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3FormQuery.resx

     文件       9708  2019-06-18 13:54  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3FrmAttributesTable.cs

     文件       6195  2019-06-18 08:20  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3FrmAttributesTable.Designer.cs

     文件       5817  2019-06-18 08:20  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3FrmAttributesTable.resx

     文件       2880  2019-06-20 09:46  校园基建管理系统WindowsFormsApplication3WindowsFormsApplication3FrmDataAdd.cs

............此处省略316个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)