Пример #1
0
 //停车设施  区域过滤
 private void btnRegionFilterParking_Click(object sender, EventArgs e)
 {
     this.TempGeometry = null;
     this.dataType = DataType.Parking;
     var cmd = new FrameSearchTool(axMapControl1, this, ParkingName.GetLayer());
     cmd.OnCreate(axMapControl1.Object);
     axMapControl1.CurrentTool = (ITool)cmd;
 }
Пример #2
0
 //公交路线 区域过滤
 private void RegionFilter_Click(object sender, EventArgs e)
 {
     this.TempGeometry = null;
     this.dataType = DataType.BusLine;
     var cmd = new FrameSearchTool(axMapControl1, this,BusLineName.GetLayer());
     cmd.OnCreate(axMapControl1.Object);
     axMapControl1.CurrentTool = (ITool)cmd;
     //axMapControl1.MousePointer = esriControlsMousePointer.esriPointerCrosshair;
 }