示例#1
0
        //平移工具
        public static void PanGlobe(AxGlobeControl _axGlobeControl)
        {
            ICommand pCommand;

            pCommand = new ControlsGlobePanToolClass();
            pCommand.OnCreate(_axGlobeControl.Object);
            _axGlobeControl.CurrentTool = (ITool)pCommand;
        }
示例#2
0
 //平移工具
 public static void PanGlobe(AxGlobeControl _axGlobeControl)
 {
     ICommand pCommand;
     pCommand = new ControlsGlobePanToolClass();
     pCommand.OnCreate(_axGlobeControl.Object);
     _axGlobeControl.CurrentTool = (ITool)pCommand;
 }