AE 打开Shp文件
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; using ESRI.ArcGIS.Carto; using ESRI.ArcGIS.DataSourcesFile; using ESRI.ArcGIS.Geodatabase; namespace addshp { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void menuAddshpToolStripMenuItem_Click(object sender, EventArgs e) {//menuestrip.click OpenFileDialog opfd1 = new OpenFileDialog(); opfd1.Filter = "shapefile(*.shp)|*.shp|allfile(*.*)|*.*"; opfd1.Multiselect = false; opfd1