Beispiel #1
0
 private void 起始点ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ESRI.ArcGIS.SystemUI.ICommand pcommand = new ESRI.ArcGIS.Controls.ControlsNetworkAnalystCreateLocationTool ();
     pcommand.OnCreate(axSceneControl1.Object);
     axSceneControl1.CurrentTool = pcommand as ESRI.ArcGIS.SystemUI.ITool;
     pcommand.OnClick();
 }
Beispiel #2
0
 private void toolStripButton14_Click(object sender, EventArgs e)
 {
     ESRI.ArcGIS.SystemUI.ICommand pcommand = new ESRI.ArcGIS.Controls.ControlsNetworkAnalystCreateLocationTool();
     pcommand.OnCreate(axMapControl2.Object);
     axMapControl2.CurrentTool = pcommand as ESRI.ArcGIS.SystemUI.ITool;
     pcommand.OnClick();
 }