示例#1
0
        /// <summary>Load GoogleEarth to a new Panel
        /// Load GoogleEarth to a new Panel
        /// </summary>
        public void LoadGoogleEarth()
        {
            //将GoogleEarth加载到窗口上
            myGEHandler = new SetGEHandler();
            _geApp      = new ApplicationGEClass();
            myGEHandler.SetGEHandlerToControl(this.pnlGoogleEarth, _geApp);
            _gEHandler = (IntPtr)_geApp.GetRenderHwnd();

            this.StartMouseHook();
        }
        /// <summary>Load GoogleEarth to a new Panel
        /// Load GoogleEarth to a new Panel
        /// </summary>
        public void LoadGoogleEarth()
        {
            //将GoogleEarth加载到窗口上
            myGEHandler = new SetGEHandler();
            _geApp = new ApplicationGEClass();
            myGEHandler.SetGEHandlerToControl(this.pnlGoogleEarth, _geApp);
            _gEHandler = (IntPtr)_geApp.GetRenderHwnd();

            this.StartMouseHook();
        }