Esempio n. 1
0
        private void Maptable(ITable table)
        {
            if (map != null)
            {
                // Close the exsiting map window.
                this.CloseWindow(map);
            }

            this.mapPanel.SetAsNextDocumentParent(NextDocumentEnum.WIN_STYLE_CHILD);

            map = MapWindow.MapTable(table);

            MapInformation.SelectedObject = map;

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