예제 #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;
        }
예제 #2
0
파일: MapToolbar.cs 프로젝트: lyon913/BDCDC
        private void selectFeature_click(object sender, EventArgs e)
        {
            ICommand cmd = new ControlsSelectFeaturesTool();

            cmd.OnCreate(this.mapControl.Object);
            this.mapControl.CurrentTool = cmd as ITool;
        }
예제 #3
0
파일: GMap.cs 프로젝트: truonghinh/TnX
 void IGMap.SelectFeature()
 {
     ICommand command = new ControlsSelectFeaturesTool();
     command.OnCreate(this._hook);
     (this._mapHook).CurrentTool = (ITool)command;
 }
예제 #4
0
파일: Form1.cs 프로젝트: 609878415/fff12138
 private void toolStripDropDownButton2_Click(object sender, EventArgs e)
 {
     ICommand pCommand = new ControlsSelectFeaturesTool();
     pCommand.OnCreate(this.axMapControl1.Object);
     this.axMapControl1.CurrentTool = pCommand as ITool;
 }