Ejemplo n.º 1
0
        //选择要素
        private void Btn_SelectFeature_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            ICommand Cmd = new ControlsSelectFeaturesTool();

            Cmd.OnCreate(this.axMapControl1.Object);
            this.axMapControl1.CurrentTool = Cmd as ITool;
        }
Ejemplo n.º 2
0
        private void but_selectfea_Click(object sender, EventArgs e)
        {
            this.map_control.CurrentTool = null;
            ICommand pCommand = new ControlsSelectFeaturesTool();

            pcommandTool(pCommand);
        }
Ejemplo n.º 3
0
        private void selectFeature_click(object sender, EventArgs e)
        {
            ICommand cmd = new ControlsSelectFeaturesTool();

            cmd.OnCreate(this.mapControl.Object);
            this.mapControl.CurrentTool = cmd as ITool;
        }
Ejemplo n.º 4
0
 void IGMap.SelectFeature()
 {
     ICommand command = new ControlsSelectFeaturesTool();
     command.OnCreate(this._hook);
     (this._mapHook).CurrentTool = (ITool)command;
 }
Ejemplo n.º 5
0
 private void toolStripDropDownButton2_Click(object sender, EventArgs e)
 {
     ICommand pCommand = new ControlsSelectFeaturesTool();
     pCommand.OnCreate(this.axMapControl1.Object);
     this.axMapControl1.CurrentTool = pCommand as ITool;
 }