Exemplo n.º 1
0
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="uc_Ctrl"></param>
        public frmLngLatCalculate(MainControl uc_Ctrl)
        {
            InitializeComponent();
            this.LookAndFeel.SkinName = AppConfigFacade.DefaultTheme;
            Icon icon = global::GlobleSituation.Properties.Resources.App;

            this.Icon = icon;
            globe     = uc_Ctrl.GlobeMapContainer.globeCtrl.axGlobeControl1;
        }
Exemplo n.º 2
0
        // 显示三维地球
        public void ShowMainCtrl()
        {
            panelMain.Controls.Clear();

            if (MainCtrl == null)
            {
                MainCtrl = new MainControl()
                {
                    Dock = DockStyle.Fill
                }
            }
            ;
            panelMain.Controls.Add(MainCtrl);
        }