public void ShowRegionalMap(RegionalMapPanel panel) { RegionalMapPanel ctrl = new RegionalMapPanel(); ctrl.Map = panel.Map; ctrl.Mode = MapViewMode.PlayerView; if (panel.SelectedLocation == null) { ctrl.ShowLocations = false; } else { ctrl.ShowLocations = true; ctrl.HighlightedLocation = panel.SelectedLocation; } Controls.Clear(); Controls.Add(ctrl); ctrl.Dock = DockStyle.Fill; fMode = PlayerViewMode.RegionalMap; Show(); }
public void ShowRegionalMap(RegionalMapPanel panel) { RegionalMapPanel regionalMapPanel = new RegionalMapPanel() { Map = panel.Map, Mode = MapViewMode.PlayerView }; if (panel.SelectedLocation != null) { regionalMapPanel.ShowLocations = true; regionalMapPanel.HighlightedLocation = panel.SelectedLocation; } else { regionalMapPanel.ShowLocations = false; } base.Controls.Clear(); base.Controls.Add(regionalMapPanel); regionalMapPanel.Dock = DockStyle.Fill; this.fMode = PlayerViewMode.RegionalMap; base.Show(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(RegionalMapForm)); this.NameLbl = new Label(); this.NameBox = new TextBox(); this.Panel = new System.Windows.Forms.Panel(); this.MapPanel = new RegionalMapPanel(); this.MapContext = new System.Windows.Forms.ContextMenuStrip(this.components); this.MapContextAddLocation = new ToolStripMenuItem(); this.toolStripSeparator2 = new ToolStripSeparator(); this.MapContextRemove = new ToolStripMenuItem(); this.MapContextEdit = new ToolStripMenuItem(); this.Toolbar = new ToolStrip(); this.BrowseBtn = new ToolStripButton(); this.toolStripSeparator1 = new ToolStripSeparator(); this.RemoveBtn = new ToolStripButton(); this.EditBtn = new ToolStripButton(); this.toolStripSeparator3 = new ToolStripSeparator(); this.EntryBtn = new ToolStripButton(); this.OKBtn = new Button(); this.CancelBtn = new Button(); this.PasteBtn = new ToolStripButton(); this.Panel.SuspendLayout(); this.MapContext.SuspendLayout(); this.Toolbar.SuspendLayout(); base.SuspendLayout(); this.NameLbl.AutoSize = true; this.NameLbl.Location = new Point(12, 15); this.NameLbl.Name = "NameLbl"; this.NameLbl.Size = new System.Drawing.Size(62, 13); this.NameLbl.TabIndex = 0; this.NameLbl.Text = "Map Name:"; this.NameBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; this.NameBox.Location = new Point(80, 12); this.NameBox.Name = "NameBox"; this.NameBox.Size = new System.Drawing.Size(515, 20); this.NameBox.TabIndex = 1; this.Panel.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; this.Panel.BorderStyle = BorderStyle.FixedSingle; this.Panel.Controls.Add(this.MapPanel); this.Panel.Controls.Add(this.Toolbar); this.Panel.Location = new Point(12, 38); this.Panel.Name = "Panel"; this.Panel.Size = new System.Drawing.Size(583, 352); this.Panel.TabIndex = 2; this.MapPanel.AllowEditing = true; this.MapPanel.ContextMenuStrip = this.MapContext; this.MapPanel.Dock = DockStyle.Fill; this.MapPanel.HighlightedLocation = null; this.MapPanel.Location = new Point(0, 25); this.MapPanel.Map = null; this.MapPanel.Mode = MapViewMode.Normal; this.MapPanel.Name = "MapPanel"; this.MapPanel.Plot = null; this.MapPanel.SelectedLocation = null; this.MapPanel.ShowLocations = true; this.MapPanel.Size = new System.Drawing.Size(581, 325); this.MapPanel.TabIndex = 1; this.MapPanel.DoubleClick += new EventHandler(this.MapPanel_DoubleClick); ToolStripItemCollection items = this.MapContext.Items; ToolStripItem[] mapContextAddLocation = new ToolStripItem[] { this.MapContextAddLocation, this.toolStripSeparator2, this.MapContextRemove, this.MapContextEdit }; items.AddRange(mapContextAddLocation); this.MapContext.Name = "MapContext"; this.MapContext.Size = new System.Drawing.Size(183, 76); this.MapContext.Opening += new CancelEventHandler(this.MapContext_Opening); this.MapContextAddLocation.Name = "MapContextAddLocation"; this.MapContextAddLocation.Size = new System.Drawing.Size(182, 22); this.MapContextAddLocation.Text = "Add Location Here..."; this.MapContextAddLocation.Click += new EventHandler(this.MapContextAddLocation_Click); this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(179, 6); this.MapContextRemove.Name = "MapContextRemove"; this.MapContextRemove.Size = new System.Drawing.Size(182, 22); this.MapContextRemove.Text = "Remove Location"; this.MapContextRemove.Click += new EventHandler(this.MapContextRemove_Click); this.MapContextEdit.Name = "MapContextEdit"; this.MapContextEdit.Size = new System.Drawing.Size(182, 22); this.MapContextEdit.Text = "Edit Location"; this.MapContextEdit.Click += new EventHandler(this.MapContextEdit_Click); ToolStripItemCollection toolStripItemCollections = this.Toolbar.Items; ToolStripItem[] browseBtn = new ToolStripItem[] { this.BrowseBtn, this.PasteBtn, this.toolStripSeparator1, this.RemoveBtn, this.EditBtn, this.toolStripSeparator3, this.EntryBtn }; toolStripItemCollections.AddRange(browseBtn); this.Toolbar.Location = new Point(0, 0); this.Toolbar.Name = "Toolbar"; this.Toolbar.Size = new System.Drawing.Size(581, 25); this.Toolbar.TabIndex = 0; this.Toolbar.Text = "toolStrip1"; this.BrowseBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.BrowseBtn.Image = (Image)componentResourceManager.GetObject("BrowseBtn.Image"); this.BrowseBtn.ImageTransparentColor = Color.Magenta; this.BrowseBtn.Name = "BrowseBtn"; this.BrowseBtn.Size = new System.Drawing.Size(105, 22); this.BrowseBtn.Text = "Select Map Image"; this.BrowseBtn.Click += new EventHandler(this.BrowseBtn_Click); this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); this.RemoveBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.RemoveBtn.Image = (Image)componentResourceManager.GetObject("RemoveBtn.Image"); this.RemoveBtn.ImageTransparentColor = Color.Magenta; this.RemoveBtn.Name = "RemoveBtn"; this.RemoveBtn.Size = new System.Drawing.Size(103, 22); this.RemoveBtn.Text = "Remove Location"; this.RemoveBtn.Click += new EventHandler(this.MapContextRemove_Click); this.EditBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.EditBtn.Image = (Image)componentResourceManager.GetObject("EditBtn.Image"); this.EditBtn.ImageTransparentColor = Color.Magenta; this.EditBtn.Name = "EditBtn"; this.EditBtn.Size = new System.Drawing.Size(80, 22); this.EditBtn.Text = "Edit Location"; this.EditBtn.Click += new EventHandler(this.MapContextEdit_Click); this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); this.EntryBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.EntryBtn.Image = (Image)componentResourceManager.GetObject("EntryBtn.Image"); this.EntryBtn.ImageTransparentColor = Color.Magenta; this.EntryBtn.Name = "EntryBtn"; this.EntryBtn.Size = new System.Drawing.Size(111, 22); this.EntryBtn.Text = "Encyclopedia Entry"; this.EntryBtn.Click += new EventHandler(this.EntryBtn_Click); this.OKBtn.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; this.OKBtn.DialogResult = System.Windows.Forms.DialogResult.OK; this.OKBtn.Location = new Point(439, 396); this.OKBtn.Name = "OKBtn"; this.OKBtn.Size = new System.Drawing.Size(75, 23); this.OKBtn.TabIndex = 3; this.OKBtn.Text = "OK"; this.OKBtn.UseVisualStyleBackColor = true; this.OKBtn.Click += new EventHandler(this.OKBtn_Click); this.CancelBtn.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; this.CancelBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.CancelBtn.Location = new Point(520, 396); this.CancelBtn.Name = "CancelBtn"; this.CancelBtn.Size = new System.Drawing.Size(75, 23); this.CancelBtn.TabIndex = 4; this.CancelBtn.Text = "Cancel"; this.CancelBtn.UseVisualStyleBackColor = true; this.PasteBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.PasteBtn.Image = (Image)componentResourceManager.GetObject("PasteBtn.Image"); this.PasteBtn.ImageTransparentColor = Color.Magenta; this.PasteBtn.Name = "PasteBtn"; this.PasteBtn.Size = new System.Drawing.Size(102, 22); this.PasteBtn.Text = "Paste Map Image"; this.PasteBtn.Click += new EventHandler(this.PasteBtn_Click); base.AcceptButton = this.OKBtn; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.CancelButton = this.CancelBtn; base.ClientSize = new System.Drawing.Size(607, 431); base.Controls.Add(this.CancelBtn); base.Controls.Add(this.OKBtn); base.Controls.Add(this.Panel); base.Controls.Add(this.NameBox); base.Controls.Add(this.NameLbl); base.MinimizeBox = false; base.Name = "RegionalMapForm"; base.ShowIcon = false; base.ShowInTaskbar = false; base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Regional Map"; this.Panel.ResumeLayout(false); this.Panel.PerformLayout(); this.MapContext.ResumeLayout(false); this.Toolbar.ResumeLayout(false); this.Toolbar.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.MapLbl = new Label(); this.MapBox = new ComboBox(); this.LocationLbl = new Label(); this.LocationBox = new ComboBox(); this.OKBtn = new Button(); this.CancelBtn = new Button(); this.MapPanel = new RegionalMapPanel(); base.SuspendLayout(); this.MapLbl.AutoSize = true; this.MapLbl.Location = new Point(12, 15); this.MapLbl.Name = "MapLbl"; this.MapLbl.Size = new System.Drawing.Size(31, 13); this.MapLbl.TabIndex = 0; this.MapLbl.Text = "Map:"; this.MapBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; this.MapBox.DropDownStyle = ComboBoxStyle.DropDownList; this.MapBox.FormattingEnabled = true; this.MapBox.Location = new Point(69, 12); this.MapBox.Name = "MapBox"; this.MapBox.Size = new System.Drawing.Size(478, 21); this.MapBox.Sorted = true; this.MapBox.TabIndex = 1; this.MapBox.SelectedIndexChanged += new EventHandler(this.MapBox_SelectedIndexChanged); this.LocationLbl.AutoSize = true; this.LocationLbl.Location = new Point(12, 42); this.LocationLbl.Name = "LocationLbl"; this.LocationLbl.Size = new System.Drawing.Size(51, 13); this.LocationLbl.TabIndex = 2; this.LocationLbl.Text = "Location:"; this.LocationBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; this.LocationBox.DropDownStyle = ComboBoxStyle.DropDownList; this.LocationBox.FormattingEnabled = true; this.LocationBox.Location = new Point(69, 39); this.LocationBox.Name = "LocationBox"; this.LocationBox.Size = new System.Drawing.Size(478, 21); this.LocationBox.Sorted = true; this.LocationBox.TabIndex = 3; this.LocationBox.SelectedIndexChanged += new EventHandler(this.AreaBox_SelectedIndexChanged); this.OKBtn.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; this.OKBtn.DialogResult = System.Windows.Forms.DialogResult.OK; this.OKBtn.Location = new Point(391, 357); this.OKBtn.Name = "OKBtn"; this.OKBtn.Size = new System.Drawing.Size(75, 23); this.OKBtn.TabIndex = 5; this.OKBtn.Text = "OK"; this.OKBtn.UseVisualStyleBackColor = true; this.CancelBtn.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; this.CancelBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.CancelBtn.Location = new Point(472, 357); this.CancelBtn.Name = "CancelBtn"; this.CancelBtn.Size = new System.Drawing.Size(75, 23); this.CancelBtn.TabIndex = 6; this.CancelBtn.Text = "Cancel"; this.CancelBtn.UseVisualStyleBackColor = true; this.MapPanel.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; this.MapPanel.BorderStyle = BorderStyle.FixedSingle; this.MapPanel.HighlightedLocation = null; this.MapPanel.Location = new Point(12, 66); this.MapPanel.Map = null; this.MapPanel.Mode = MapViewMode.Plain; this.MapPanel.Name = "MapPanel"; this.MapPanel.SelectedLocation = null; this.MapPanel.ShowLocations = true; this.MapPanel.Size = new System.Drawing.Size(535, 285); this.MapPanel.TabIndex = 4; base.AcceptButton = this.OKBtn; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.CancelButton = this.CancelBtn; base.ClientSize = new System.Drawing.Size(559, 392); base.Controls.Add(this.MapPanel); base.Controls.Add(this.CancelBtn); base.Controls.Add(this.OKBtn); base.Controls.Add(this.LocationBox); base.Controls.Add(this.LocationLbl); base.Controls.Add(this.MapBox); base.Controls.Add(this.MapLbl); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "MapLocationSelectForm"; base.ShowIcon = false; base.ShowInTaskbar = false; base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Location"; base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(RegionalMapListForm)); this.MapList = new ListView(); this.MapHdr = new ColumnHeader(); this.ListToolbar = new ToolStrip(); this.AddBtn = new ToolStripSplitButton(); this.AddImportProject = new ToolStripMenuItem(); this.RemoveBtn = new ToolStripButton(); this.EditBtn = new ToolStripButton(); this.Splitter = new SplitContainer(); this.MapPanel = new RegionalMapPanel(); this.MapToolbar = new ToolStrip(); this.LocationMenu = new ToolStripDropDownButton(); this.LocationEntry = new ToolStripMenuItem(); this.ToolsMenu = new ToolStripDropDownButton(); this.ToolsScreenshot = new ToolStripMenuItem(); this.ToolsPlayerView = new ToolStripMenuItem(); this.CloseBtn = new Button(); this.ListToolbar.SuspendLayout(); this.Splitter.Panel1.SuspendLayout(); this.Splitter.Panel2.SuspendLayout(); this.Splitter.SuspendLayout(); this.MapToolbar.SuspendLayout(); base.SuspendLayout(); this.MapList.Columns.AddRange(new ColumnHeader[] { this.MapHdr }); this.MapList.Dock = DockStyle.Fill; this.MapList.FullRowSelect = true; this.MapList.HeaderStyle = ColumnHeaderStyle.Nonclickable; this.MapList.HideSelection = false; this.MapList.Location = new Point(0, 25); this.MapList.MultiSelect = false; this.MapList.Name = "MapList"; this.MapList.Size = new System.Drawing.Size(205, 374); this.MapList.TabIndex = 1; this.MapList.UseCompatibleStateImageBehavior = false; this.MapList.View = View.Details; this.MapList.SelectedIndexChanged += new EventHandler(this.MapList_SelectedIndexChanged); this.MapList.DoubleClick += new EventHandler(this.EditBtn_Click); this.MapHdr.Text = "Map"; this.MapHdr.Width = 172; ToolStripItemCollection items = this.ListToolbar.Items; ToolStripItem[] addBtn = new ToolStripItem[] { this.AddBtn, this.RemoveBtn, this.EditBtn }; items.AddRange(addBtn); this.ListToolbar.Location = new Point(0, 0); this.ListToolbar.Name = "ListToolbar"; this.ListToolbar.Size = new System.Drawing.Size(205, 25); this.ListToolbar.TabIndex = 0; this.ListToolbar.Text = "toolStrip1"; this.AddBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.AddBtn.DropDownItems.AddRange(new ToolStripItem[] { this.AddImportProject }); this.AddBtn.Image = (Image)componentResourceManager.GetObject("AddBtn.Image"); this.AddBtn.ImageTransparentColor = Color.Magenta; this.AddBtn.Name = "AddBtn"; this.AddBtn.Size = new System.Drawing.Size(45, 22); this.AddBtn.Text = "Add"; this.AddBtn.ButtonClick += new EventHandler(this.AddBtn_Click); this.AddImportProject.Name = "AddImportProject"; this.AddImportProject.Size = new System.Drawing.Size(209, 22); this.AddImportProject.Text = "Import from Project File..."; this.AddImportProject.Click += new EventHandler(this.AddImportProject_Click); this.RemoveBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.RemoveBtn.Image = (Image)componentResourceManager.GetObject("RemoveBtn.Image"); this.RemoveBtn.ImageTransparentColor = Color.Magenta; this.RemoveBtn.Name = "RemoveBtn"; this.RemoveBtn.Size = new System.Drawing.Size(54, 22); this.RemoveBtn.Text = "Remove"; this.RemoveBtn.Click += new EventHandler(this.RemoveBtn_Click); this.EditBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.EditBtn.Image = (Image)componentResourceManager.GetObject("EditBtn.Image"); this.EditBtn.ImageTransparentColor = Color.Magenta; this.EditBtn.Name = "EditBtn"; this.EditBtn.Size = new System.Drawing.Size(31, 22); this.EditBtn.Text = "Edit"; this.EditBtn.Click += new EventHandler(this.EditBtn_Click); this.Splitter.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; this.Splitter.FixedPanel = FixedPanel.Panel1; this.Splitter.Location = new Point(12, 12); this.Splitter.Name = "Splitter"; this.Splitter.Panel1.Controls.Add(this.MapList); this.Splitter.Panel1.Controls.Add(this.ListToolbar); this.Splitter.Panel2.Controls.Add(this.MapPanel); this.Splitter.Panel2.Controls.Add(this.MapToolbar); this.Splitter.Size = new System.Drawing.Size(726, 399); this.Splitter.SplitterDistance = 205; this.Splitter.TabIndex = 11; this.MapPanel.AllowEditing = false; this.MapPanel.BorderStyle = BorderStyle.FixedSingle; this.MapPanel.Dock = DockStyle.Fill; this.MapPanel.HighlightedLocation = null; this.MapPanel.Location = new Point(0, 25); this.MapPanel.Map = null; this.MapPanel.Mode = MapViewMode.Thumbnail; this.MapPanel.Name = "MapPanel"; this.MapPanel.Plot = null; this.MapPanel.SelectedLocation = null; this.MapPanel.ShowLocations = true; this.MapPanel.Size = new System.Drawing.Size(517, 374); this.MapPanel.TabIndex = 2; this.MapPanel.DoubleClick += new EventHandler(this.LocationEntry_Click); ToolStripItemCollection toolStripItemCollections = this.MapToolbar.Items; ToolStripItem[] locationMenu = new ToolStripItem[] { this.LocationMenu, this.ToolsMenu }; toolStripItemCollections.AddRange(locationMenu); this.MapToolbar.Location = new Point(0, 0); this.MapToolbar.Name = "MapToolbar"; this.MapToolbar.Size = new System.Drawing.Size(517, 25); this.MapToolbar.TabIndex = 1; this.MapToolbar.Text = "toolStrip1"; this.LocationMenu.DisplayStyle = ToolStripItemDisplayStyle.Text; this.LocationMenu.DropDownItems.AddRange(new ToolStripItem[] { this.LocationEntry }); this.LocationMenu.Image = (Image)componentResourceManager.GetObject("LocationMenu.Image"); this.LocationMenu.ImageTransparentColor = Color.Magenta; this.LocationMenu.Name = "LocationMenu"; this.LocationMenu.Size = new System.Drawing.Size(66, 22); this.LocationMenu.Text = "Location"; this.LocationEntry.Name = "LocationEntry"; this.LocationEntry.Size = new System.Drawing.Size(183, 22); this.LocationEntry.Text = "Encyclopedia Entry..."; this.LocationEntry.Click += new EventHandler(this.LocationEntry_Click); this.ToolsMenu.DisplayStyle = ToolStripItemDisplayStyle.Text; ToolStripItemCollection dropDownItems = this.ToolsMenu.DropDownItems; ToolStripItem[] toolsScreenshot = new ToolStripItem[] { this.ToolsScreenshot, this.ToolsPlayerView }; dropDownItems.AddRange(toolsScreenshot); this.ToolsMenu.Image = (Image)componentResourceManager.GetObject("ToolsMenu.Image"); this.ToolsMenu.ImageTransparentColor = Color.Magenta; this.ToolsMenu.Name = "ToolsMenu"; this.ToolsMenu.Size = new System.Drawing.Size(49, 22); this.ToolsMenu.Text = "Tools"; this.ToolsScreenshot.Name = "ToolsScreenshot"; this.ToolsScreenshot.Size = new System.Drawing.Size(177, 22); this.ToolsScreenshot.Text = "Export Map"; this.ToolsScreenshot.Click += new EventHandler(this.ToolsExport_Click); this.ToolsPlayerView.Name = "ToolsPlayerView"; this.ToolsPlayerView.Size = new System.Drawing.Size(177, 22); this.ToolsPlayerView.Text = "Send to Player View"; this.ToolsPlayerView.Click += new EventHandler(this.ToolsPlayerView_Click); this.CloseBtn.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; this.CloseBtn.DialogResult = System.Windows.Forms.DialogResult.OK; this.CloseBtn.Location = new Point(663, 417); this.CloseBtn.Name = "CloseBtn"; this.CloseBtn.Size = new System.Drawing.Size(75, 23); this.CloseBtn.TabIndex = 12; this.CloseBtn.Text = "Close"; this.CloseBtn.UseVisualStyleBackColor = true; base.AcceptButton = this.CloseBtn; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new System.Drawing.Size(750, 452); base.Controls.Add(this.CloseBtn); base.Controls.Add(this.Splitter); base.MinimizeBox = false; base.Name = "RegionalMapListForm"; base.ShowIcon = false; base.ShowInTaskbar = false; base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Regional Maps"; this.ListToolbar.ResumeLayout(false); this.ListToolbar.PerformLayout(); this.Splitter.Panel1.ResumeLayout(false); this.Splitter.Panel1.PerformLayout(); this.Splitter.Panel2.ResumeLayout(false); this.Splitter.Panel2.PerformLayout(); this.Splitter.ResumeLayout(false); this.MapToolbar.ResumeLayout(false); this.MapToolbar.PerformLayout(); base.ResumeLayout(false); }