//private void comboBox2_SelectedIndexChanged(object sender, EventArgs e) //{ // string proj; // proj = comboBox2.Text; // ISpatialReferenceFactory srFactory = new SpatialReferenceEnvironmentClass(); // if (proj == "Mollweide") // { // IProjectedCoordinateSystem pcs = srFactory.CreateProjectedCoordinateSystem((int)esriSRProjCSType.esriSRProjCS_World_Mollweide); // axMapControl1.SpatialReference = pcs; // axMapControl1.Refresh(); // } // if (proj == "Mercator") // { // IProjectedCoordinateSystem pcs = srFactory.CreateProjectedCoordinateSystem((int)esriSRProjCSType.esriSRProjCS_World_Mercator); // axMapControl1.SpatialReference = pcs; // axMapControl1.Refresh(); // } // if (proj == "North_Pole_Stereographic") // { // IProjectedCoordinateSystem pcs = srFactory.CreateProjectedCoordinateSystem((int)esriSRProjCSType.esriSRProjCS_WGS1984N_PoleStereographic); // axMapControl1.SpatialReference = pcs; // axMapControl1.Refresh(); // } // if (proj == "South_Pole_Stereographic") // { // IProjectedCoordinateSystem pcs = srFactory.CreateProjectedCoordinateSystem((int)esriSRProjCSType.esriSRProjCS_WGS1984S_PoleStereographic); // axMapControl1.SpatialReference = pcs; // axMapControl1.Refresh(); // } // if (proj == "WGS 1984") // { // IGeographicCoordinateSystem gcs = srFactory.CreateGeographicCoordinateSystem((int)esriSRGeoCSType.esriSRGeoCS_WGS1984); // axMapControl1.SpatialReference = gcs; // axMapControl1.Refresh(); // } //} private void button4_Click(object sender, EventArgs e) { 平移 frm = new 平移(); //this frm.Show(); }
private void menuItem66_Click(object sender, EventArgs e) { 平移 frm = new 平移(); frm.Show(); }