Beispiel #1
0
        private void OpenWorldWorkSpace()
        {
            if (map != null)
            {
                map.CloseWindow();
                this.CloseAllTables();
            }

            this.mapPanel.SetAsNextDocumentParent(NextDocumentEnum.WIN_STYLE_CHILD);

            // Open the workspace that contains the world table.
            worldworkspace = WorldWorkspace.Open();

            this.TabInfoGrid.SelectedObject = worldworkspace.WorldTable;

            // Get the front map window.
            map = MapWindow.GetFrontWindow();

            this.comboBoxMapTool.Enabled = true;
            this.comboBox1.Enabled       = true;
            this.buttonZoomIn.Enabled    = true;
            this.buttonZoomOut.Enabled   = true;
        }