Esempio n. 1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.statusBar1                   = new System.Windows.Forms.StatusBar();
     this.mainMenu1                    = new System.Windows.Forms.MainMenu();
     this.mnuFile                      = new System.Windows.Forms.MenuItem();
     this.mnuOpenTable                 = new System.Windows.Forms.MenuItem();
     this.mnuOpenGeoset                = new System.Windows.Forms.MenuItem();
     this.mnuCloseTable                = new System.Windows.Forms.MenuItem();
     this.mnuCloseAll                  = new System.Windows.Forms.MenuItem();
     this.mnuExit                      = new System.Windows.Forms.MenuItem();
     this.mnuTheme                     = new System.Windows.Forms.MenuItem();
     this.mnuAddTheme                  = new System.Windows.Forms.MenuItem();
     this.mnuRemoveTheme               = new System.Windows.Forms.MenuItem();
     this.mnuModifyTheme               = new System.Windows.Forms.MenuItem();
     this.mapControl1                  = new MapInfo.Windows.Controls.MapControl();
     this.mapToolBar1                  = new MapInfo.Windows.Controls.MapToolBar();
     this.mapToolBarButtonOpenTable    = new MapInfo.Windows.Controls.MapToolBarButton();
     this.mapToolBarButtonLayerControl = new MapInfo.Windows.Controls.MapToolBarButton();
     this.toolBarButtonSeparator       = new System.Windows.Forms.ToolBarButton();
     this.mapToolBarButtonSelect       = new MapInfo.Windows.Controls.MapToolBarButton();
     this.mapToolBarButtonZoomIn       = new MapInfo.Windows.Controls.MapToolBarButton();
     this.mapToolBarButtonZoomOut      = new MapInfo.Windows.Controls.MapToolBarButton();
     this.mapToolBarButtonPan          = new MapInfo.Windows.Controls.MapToolBarButton();
     this.SuspendLayout();
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 286);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Size     = new System.Drawing.Size(447, 19);
     this.statusBar1.TabIndex = 2;
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuFile,
         this.mnuTheme
     });
     //
     // mnuFile
     //
     this.mnuFile.Index = 0;
     this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuOpenTable,
         this.mnuOpenGeoset,
         this.mnuCloseTable,
         this.mnuCloseAll,
         this.mnuExit
     });
     this.mnuFile.Text = "File";
     //
     // mnuOpenTable
     //
     this.mnuOpenTable.Index  = 0;
     this.mnuOpenTable.Text   = "Open Table...";
     this.mnuOpenTable.Click += new System.EventHandler(this.mnuOpenTable_Click);
     //
     // mnuOpenGeoset
     //
     this.mnuOpenGeoset.Index  = 1;
     this.mnuOpenGeoset.Text   = "Open Geoset...";
     this.mnuOpenGeoset.Click += new System.EventHandler(this.mnuOpenGeoset_Click);
     //
     // mnuCloseTable
     //
     this.mnuCloseTable.Index  = 2;
     this.mnuCloseTable.Text   = "Close Table...";
     this.mnuCloseTable.Click += new System.EventHandler(this.mnuCloseTable_Click);
     //
     // mnuCloseAll
     //
     this.mnuCloseAll.Index  = 3;
     this.mnuCloseAll.Text   = "Close All";
     this.mnuCloseAll.Click += new System.EventHandler(this.mnuCloseAll_Click);
     //
     // mnuExit
     //
     this.mnuExit.Index  = 4;
     this.mnuExit.Text   = "Exit";
     this.mnuExit.Click += new System.EventHandler(this.mnuExit_Click);
     //
     // mnuTheme
     //
     this.mnuTheme.Index = 1;
     this.mnuTheme.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuAddTheme,
         this.mnuRemoveTheme,
         this.mnuModifyTheme
     });
     this.mnuTheme.Text = "Theme";
     //
     // mnuAddTheme
     //
     this.mnuAddTheme.Index  = 0;
     this.mnuAddTheme.Text   = "Add Theme...";
     this.mnuAddTheme.Click += new System.EventHandler(this.mnuAddTheme_Click);
     //
     // mnuRemoveTheme
     //
     this.mnuRemoveTheme.Enabled = false;
     this.mnuRemoveTheme.Index   = 1;
     this.mnuRemoveTheme.Text    = "Remove Theme";
     this.mnuRemoveTheme.Click  += new System.EventHandler(this.mnuRemoveTheme_Click);
     //
     // mnuModifyTheme
     //
     this.mnuModifyTheme.Enabled = false;
     this.mnuModifyTheme.Index   = 2;
     this.mnuModifyTheme.Text    = "Modify Theme...";
     this.mnuModifyTheme.Click  += new System.EventHandler(this.mnuModifyTheme_Click);
     //
     // mapControl1
     //
     this.mapControl1.Location = new System.Drawing.Point(8, 32);
     this.mapControl1.Name     = "mapControl1";
     this.mapControl1.Size     = new System.Drawing.Size(432, 248);
     this.mapControl1.TabIndex = 4;
     this.mapControl1.Text     = "mapControl1";
     //
     // mapToolBar1
     //
     this.mapToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.mapToolBarButtonOpenTable,
         this.mapToolBarButtonLayerControl,
         this.toolBarButtonSeparator,
         this.mapToolBarButtonSelect,
         this.mapToolBarButtonZoomIn,
         this.mapToolBarButtonZoomOut,
         this.mapToolBarButtonPan
     });
     this.mapToolBar1.Divider        = false;
     this.mapToolBar1.Dock           = System.Windows.Forms.DockStyle.None;
     this.mapToolBar1.DropDownArrows = true;
     this.mapToolBar1.Location       = new System.Drawing.Point(8, 0);
     this.mapToolBar1.MapControl     = this.mapControl1;
     this.mapToolBar1.Name           = "mapToolBar1";
     this.mapToolBar1.ShowToolTips   = true;
     this.mapToolBar1.Size           = new System.Drawing.Size(160, 26);
     this.mapToolBar1.TabIndex       = 8;
     //
     // mapToolBarButtonOpenTable
     //
     this.mapToolBarButtonOpenTable.ButtonType  = MapInfo.Windows.Controls.MapToolButtonType.OpenTable;
     this.mapToolBarButtonOpenTable.ToolTipText = "Open Table";
     //
     // mapToolBarButtonLayerControl
     //
     this.mapToolBarButtonLayerControl.ButtonType  = MapInfo.Windows.Controls.MapToolButtonType.LayerControl;
     this.mapToolBarButtonLayerControl.ToolTipText = "Layer Control";
     //
     // toolBarButtonSeparator
     //
     this.toolBarButtonSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // mapToolBarButtonSelect
     //
     this.mapToolBarButtonSelect.ButtonType  = MapInfo.Windows.Controls.MapToolButtonType.Select;
     this.mapToolBarButtonSelect.ToolTipText = "Select";
     //
     // mapToolBarButtonZoomIn
     //
     this.mapToolBarButtonZoomIn.ButtonType  = MapInfo.Windows.Controls.MapToolButtonType.ZoomIn;
     this.mapToolBarButtonZoomIn.ToolTipText = "Zoom-in";
     //
     // mapToolBarButtonZoomOut
     //
     this.mapToolBarButtonZoomOut.ButtonType  = MapInfo.Windows.Controls.MapToolButtonType.ZoomOut;
     this.mapToolBarButtonZoomOut.ToolTipText = "Zoom-out";
     //
     // mapToolBarButtonPan
     //
     this.mapToolBarButtonPan.ButtonType  = MapInfo.Windows.Controls.MapToolButtonType.Pan;
     this.mapToolBarButtonPan.ToolTipText = "Pan";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(447, 305);
     this.Controls.Add(this.mapToolBar1);
     this.Controls.Add(this.mapControl1);
     this.Controls.Add(this.statusBar1);
     this.Menu        = this.mainMenu1;
     this.MinimumSize = new System.Drawing.Size(250, 200);
     this.Name        = "Form1";
     this.Text        = "Theme Dialogs Sample";
     this.Resize     += new System.EventHandler(this.Form1_Resize);
     this.Load       += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
 }
Esempio n. 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.statusBar1 = new System.Windows.Forms.StatusBar();
     this.mainMenu1 = new System.Windows.Forms.MainMenu();
     this.mnuFile = new System.Windows.Forms.MenuItem();
     this.mnuOpenTable = new System.Windows.Forms.MenuItem();
     this.mnuOpenGeoset = new System.Windows.Forms.MenuItem();
     this.mnuCloseTable = new System.Windows.Forms.MenuItem();
     this.mnuCloseAll = new System.Windows.Forms.MenuItem();
     this.mnuExit = new System.Windows.Forms.MenuItem();
     this.mnuTheme = new System.Windows.Forms.MenuItem();
     this.mnuAddTheme = new System.Windows.Forms.MenuItem();
     this.mnuRemoveTheme = new System.Windows.Forms.MenuItem();
     this.mnuModifyTheme = new System.Windows.Forms.MenuItem();
     this.mapControl1 = new MapInfo.Windows.Controls.MapControl();
     this.mapToolBar1 = new MapInfo.Windows.Controls.MapToolBar();
     this.mapToolBarButtonOpenTable = new MapInfo.Windows.Controls.MapToolBarButton();
     this.mapToolBarButtonLayerControl = new MapInfo.Windows.Controls.MapToolBarButton();
     this.toolBarButtonSeparator = new System.Windows.Forms.ToolBarButton();
     this.mapToolBarButtonSelect = new MapInfo.Windows.Controls.MapToolBarButton();
     this.mapToolBarButtonZoomIn = new MapInfo.Windows.Controls.MapToolBarButton();
     this.mapToolBarButtonZoomOut = new MapInfo.Windows.Controls.MapToolBarButton();
     this.mapToolBarButtonPan = new MapInfo.Windows.Controls.MapToolBarButton();
     this.SuspendLayout();
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 286);
     this.statusBar1.Name = "statusBar1";
     this.statusBar1.Size = new System.Drawing.Size(447, 19);
     this.statusBar1.TabIndex = 2;
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.mnuFile,
                                                                               this.mnuTheme});
     //
     // mnuFile
     //
     this.mnuFile.Index = 0;
     this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                             this.mnuOpenTable,
                                                                             this.mnuOpenGeoset,
                                                                             this.mnuCloseTable,
                                                                             this.mnuCloseAll,
                                                                             this.mnuExit});
     this.mnuFile.Text = "File";
     //
     // mnuOpenTable
     //
     this.mnuOpenTable.Index = 0;
     this.mnuOpenTable.Text = "Open Table...";
     this.mnuOpenTable.Click += new System.EventHandler(this.mnuOpenTable_Click);
     //
     // mnuOpenGeoset
     //
     this.mnuOpenGeoset.Index = 1;
     this.mnuOpenGeoset.Text = "Open Geoset...";
     this.mnuOpenGeoset.Click += new System.EventHandler(this.mnuOpenGeoset_Click);
     //
     // mnuCloseTable
     //
     this.mnuCloseTable.Index = 2;
     this.mnuCloseTable.Text = "Close Table...";
     this.mnuCloseTable.Click += new System.EventHandler(this.mnuCloseTable_Click);
     //
     // mnuCloseAll
     //
     this.mnuCloseAll.Index = 3;
     this.mnuCloseAll.Text = "Close All";
     this.mnuCloseAll.Click += new System.EventHandler(this.mnuCloseAll_Click);
     //
     // mnuExit
     //
     this.mnuExit.Index = 4;
     this.mnuExit.Text = "Exit";
     this.mnuExit.Click += new System.EventHandler(this.mnuExit_Click);
     //
     // mnuTheme
     //
     this.mnuTheme.Index = 1;
     this.mnuTheme.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                              this.mnuAddTheme,
                                                                              this.mnuRemoveTheme,
                                                                              this.mnuModifyTheme});
     this.mnuTheme.Text = "Theme";
     //
     // mnuAddTheme
     //
     this.mnuAddTheme.Index = 0;
     this.mnuAddTheme.Text = "Add Theme...";
     this.mnuAddTheme.Click += new System.EventHandler(this.mnuAddTheme_Click);
     //
     // mnuRemoveTheme
     //
     this.mnuRemoveTheme.Enabled = false;
     this.mnuRemoveTheme.Index = 1;
     this.mnuRemoveTheme.Text = "Remove Theme";
     this.mnuRemoveTheme.Click += new System.EventHandler(this.mnuRemoveTheme_Click);
     //
     // mnuModifyTheme
     //
     this.mnuModifyTheme.Enabled = false;
     this.mnuModifyTheme.Index = 2;
     this.mnuModifyTheme.Text = "Modify Theme...";
     this.mnuModifyTheme.Click += new System.EventHandler(this.mnuModifyTheme_Click);
     //
     // mapControl1
     //
     this.mapControl1.Location = new System.Drawing.Point(8, 32);
     this.mapControl1.Name = "mapControl1";
     this.mapControl1.Size = new System.Drawing.Size(432, 248);
     this.mapControl1.TabIndex = 4;
     this.mapControl1.Text = "mapControl1";
     //
     // mapToolBar1
     //
     this.mapToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
                                                                                    this.mapToolBarButtonOpenTable,
                                                                                    this.mapToolBarButtonLayerControl,
                                                                                    this.toolBarButtonSeparator,
                                                                                    this.mapToolBarButtonSelect,
                                                                                    this.mapToolBarButtonZoomIn,
                                                                                    this.mapToolBarButtonZoomOut,
                                                                                    this.mapToolBarButtonPan});
     this.mapToolBar1.Divider = false;
     this.mapToolBar1.Dock = System.Windows.Forms.DockStyle.None;
     this.mapToolBar1.DropDownArrows = true;
     this.mapToolBar1.Location = new System.Drawing.Point(8, 0);
     this.mapToolBar1.MapControl = this.mapControl1;
     this.mapToolBar1.Name = "mapToolBar1";
     this.mapToolBar1.ShowToolTips = true;
     this.mapToolBar1.Size = new System.Drawing.Size(160, 26);
     this.mapToolBar1.TabIndex = 8;
     //
     // mapToolBarButtonOpenTable
     //
     this.mapToolBarButtonOpenTable.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.OpenTable;
     this.mapToolBarButtonOpenTable.ToolTipText = "Open Table";
     //
     // mapToolBarButtonLayerControl
     //
     this.mapToolBarButtonLayerControl.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.LayerControl;
     this.mapToolBarButtonLayerControl.ToolTipText = "Layer Control";
     //
     // toolBarButtonSeparator
     //
     this.toolBarButtonSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // mapToolBarButtonSelect
     //
     this.mapToolBarButtonSelect.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Select;
     this.mapToolBarButtonSelect.ToolTipText = "Select";
     //
     // mapToolBarButtonZoomIn
     //
     this.mapToolBarButtonZoomIn.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomIn;
     this.mapToolBarButtonZoomIn.ToolTipText = "Zoom-in";
     //
     // mapToolBarButtonZoomOut
     //
     this.mapToolBarButtonZoomOut.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.ZoomOut;
     this.mapToolBarButtonZoomOut.ToolTipText = "Zoom-out";
     //
     // mapToolBarButtonPan
     //
     this.mapToolBarButtonPan.ButtonType = MapInfo.Windows.Controls.MapToolButtonType.Pan;
     this.mapToolBarButtonPan.ToolTipText = "Pan";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(447, 305);
     this.Controls.Add(this.mapToolBar1);
     this.Controls.Add(this.mapControl1);
     this.Controls.Add(this.statusBar1);
     this.Menu = this.mainMenu1;
     this.MinimumSize = new System.Drawing.Size(250, 200);
     this.Name = "Form1";
     this.Text = "Theme Dialogs Sample";
     this.Resize += new System.EventHandler(this.Form1_Resize);
     this.Load += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
 }