Example #1
0
        /// <summary>
        /// Form Load event handler
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void MainForm_Load(object sender, EventArgs e)
        {
            m_globeControl = axGlobeControl1.Object as IGlobeControl;

            //cast the GlobeViewUtil from the GlobeCamera
            m_globeViewUtil = m_globeControl.GlobeCamera as IGlobeViewUtil;
        }
Example #2
0
 public frmPlayer(IGlobeControl pGlobeControl)
 {
     InitializeComponent();
     m_GlobeControl = pGlobeControl;
     m_Scene        = pGlobeControl.Globe as IScene;
 }