private void InitializeComponent() { this.tblMain = new TableLayoutPanelDB(); base.SuspendLayout(); this.tblMain.ColumnCount = 5; this.tblMain.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20f)); this.tblMain.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20f)); this.tblMain.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20f)); this.tblMain.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20f)); this.tblMain.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20f)); this.tblMain.Dock = DockStyle.Fill; this.tblMain.Location = new Point(0, 0); this.tblMain.Name = "tblMain"; this.tblMain.RowCount = 1; this.tblMain.RowStyles.Add(new RowStyle(SizeType.Percent, 100f)); this.tblMain.Size = new Size(0x89, 0x1d); this.tblMain.TabIndex = 0; this.tblMain.MouseLeave += new EventHandler(this.tblMain_MouseLeave); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.tblMain); base.Name = "RatingControl"; base.Size = new Size(0x89, 0x1d); base.ResumeLayout(false); }
private void InitializeComponent() { this.btnOK = new Button(); this.tblMain = new TableLayoutPanelDB(); this.lblTimePlayed = new Label(); this.ctrlStats = new StatsControl(); this.label1 = new Label(); this.tblMain.SuspendLayout(); base.SuspendLayout(); this.btnOK.Anchor = AnchorStyles.Right; this.btnOK.DialogResult = DialogResult.OK; this.btnOK.Location = new Point(0x109, 0xb3); this.btnOK.Name = "btnOK"; this.btnOK.Size = new Size(0x4b, 0x17); this.btnOK.TabIndex = 9; this.btnOK.Text = "OK"; this.btnOK.UseVisualStyleBackColor = true; this.tblMain.CellBorderStyle = TableLayoutPanelCellBorderStyle.Single; this.tblMain.ColumnCount = 1; this.tblMain.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.tblMain.Controls.Add(this.lblTimePlayed, 0, 1); this.tblMain.Controls.Add(this.ctrlStats, 0, 2); this.tblMain.Controls.Add(this.label1, 0, 0); this.tblMain.Controls.Add(this.btnOK, 0, 3); this.tblMain.Dock = DockStyle.Fill; this.tblMain.Location = new Point(0, 0); this.tblMain.Margin = new Padding(0); this.tblMain.Name = "tblMain"; this.tblMain.RowCount = 4; this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 32f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 40f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 96f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Percent, 100f)); this.tblMain.Size = new Size(0x158, 0xd3); this.tblMain.TabIndex = 2; this.lblTimePlayed.Anchor = AnchorStyles.Left; this.lblTimePlayed.AutoSize = true; this.lblTimePlayed.Location = new Point(4, 0x2f); this.lblTimePlayed.Name = "lblTimePlayed"; this.lblTimePlayed.Size = new Size(0x44, 13); this.lblTimePlayed.TabIndex = 7; this.lblTimePlayed.Text = "Time Played:"; this.ctrlStats.Dock = DockStyle.Fill; this.ctrlStats.Location = new Point(4, 0x4e); this.ctrlStats.Margin = new Padding(3, 3, 0, 0); this.ctrlStats.Name = "ctrlStats"; this.ctrlStats.Size = new Size(0x153, 0x5d); this.ctrlStats.TabIndex = 8; this.label1.Anchor = AnchorStyles.Left; this.label1.AutoSize = true; this.label1.Location = new Point(4, 10); this.label1.Name = "label1"; this.label1.Size = new Size(0x7d, 13); this.label1.TabIndex = 10; this.label1.Text = "Note: Search filters apply"; base.AcceptButton = this.btnOK; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x158, 0xd3); base.Controls.Add(this.tblMain); base.Name = "CumulativeStats"; base.ShowIcon = false; this.Text = "Cumulative Stats"; this.tblMain.ResumeLayout(false); this.tblMain.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { DataGridViewCellStyle style = new DataGridViewCellStyle(); ComponentResourceManager manager = new ComponentResourceManager(typeof(SourcePortViewForm)); this.tblMain = new TableLayoutPanel(); this.dgvSourcePorts = new DataGridView(); this.ColName = new DataGridViewTextBoxColumn(); this.Executable = new DataGridViewTextBoxColumn(); this.Directory = new DataGridViewTextBoxColumn(); this.tableLayoutPanelDB1 = new TableLayoutPanelDB(); this.flpButtons = new FlowLayoutPanel(); this.btnNew = new Button(); this.btnEdit = new Button(); this.btnDelete = new Button(); this.btnLaunch = new Button(); this.tblMain.SuspendLayout(); ((ISupportInitialize)this.dgvSourcePorts).BeginInit(); this.tableLayoutPanelDB1.SuspendLayout(); this.flpButtons.SuspendLayout(); base.SuspendLayout(); this.tblMain.ColumnCount = 1; this.tblMain.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.tblMain.Controls.Add(this.dgvSourcePorts, 0, 0); this.tblMain.Controls.Add(this.tableLayoutPanelDB1, 0, 1); this.tblMain.Dock = DockStyle.Fill; this.tblMain.Location = new Point(0, 0); this.tblMain.Name = "tblMain"; this.tblMain.RowCount = 2; this.tblMain.RowStyles.Add(new RowStyle(SizeType.Percent, 100f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 32f)); this.tblMain.Size = new Size(0x270, 0x1ba); this.tblMain.TabIndex = 0; this.dgvSourcePorts.AllowUserToAddRows = false; this.dgvSourcePorts.AllowUserToDeleteRows = false; style.BackColor = Color.FromArgb(0xe0, 0xe0, 0xe0); this.dgvSourcePorts.AlternatingRowsDefaultCellStyle = style; this.dgvSourcePorts.BackgroundColor = SystemColors.ControlLightLight; this.dgvSourcePorts.CellBorderStyle = DataGridViewCellBorderStyle.SingleHorizontal; this.dgvSourcePorts.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; DataGridViewColumn[] dataGridViewColumns = new DataGridViewColumn[] { this.ColName, this.Executable, this.Directory }; this.dgvSourcePorts.Columns.AddRange(dataGridViewColumns); this.dgvSourcePorts.Dock = DockStyle.Fill; this.dgvSourcePorts.EditMode = DataGridViewEditMode.EditProgrammatically; this.dgvSourcePorts.GridColor = SystemColors.ActiveBorder; this.dgvSourcePorts.Location = new Point(3, 3); this.dgvSourcePorts.Name = "dgvSourcePorts"; this.dgvSourcePorts.SelectionMode = DataGridViewSelectionMode.FullRowSelect; this.dgvSourcePorts.Size = new Size(0x26a, 0x194); this.dgvSourcePorts.TabIndex = 0; this.dgvSourcePorts.CellDoubleClick += new DataGridViewCellEventHandler(this.dgvSourcePorts_CellDoubleClick); this.ColName.DataPropertyName = "Name"; this.ColName.HeaderText = "Name"; this.ColName.Name = "ColName"; this.Executable.DataPropertyName = "Executable"; this.Executable.HeaderText = "Executable"; this.Executable.Name = "Executable"; this.Directory.DataPropertyName = "Directory"; this.Directory.HeaderText = "Directory"; this.Directory.Name = "Directory"; this.tableLayoutPanelDB1.ColumnCount = 2; this.tableLayoutPanelDB1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); this.tableLayoutPanelDB1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); this.tableLayoutPanelDB1.Controls.Add(this.flpButtons, 0, 0); this.tableLayoutPanelDB1.Controls.Add(this.btnLaunch, 1, 0); this.tableLayoutPanelDB1.Dock = DockStyle.Fill; this.tableLayoutPanelDB1.Location = new Point(0, 410); this.tableLayoutPanelDB1.Margin = new Padding(0); this.tableLayoutPanelDB1.Name = "tableLayoutPanelDB1"; this.tableLayoutPanelDB1.RowCount = 1; this.tableLayoutPanelDB1.RowStyles.Add(new RowStyle(SizeType.Percent, 100f)); this.tableLayoutPanelDB1.RowStyles.Add(new RowStyle(SizeType.Absolute, 20f)); this.tableLayoutPanelDB1.Size = new Size(0x270, 0x20); this.tableLayoutPanelDB1.TabIndex = 1; this.flpButtons.Controls.Add(this.btnNew); this.flpButtons.Controls.Add(this.btnEdit); this.flpButtons.Controls.Add(this.btnDelete); this.flpButtons.Dock = DockStyle.Fill; this.flpButtons.Location = new Point(0, 0); this.flpButtons.Margin = new Padding(0); this.flpButtons.Name = "flpButtons"; this.flpButtons.Size = new Size(0x138, 0x20); this.flpButtons.TabIndex = 2; this.btnNew.Location = new Point(3, 3); this.btnNew.Name = "btnNew"; this.btnNew.Size = new Size(0x4b, 0x17); this.btnNew.TabIndex = 2; this.btnNew.Text = "New"; this.btnNew.UseVisualStyleBackColor = true; this.btnNew.Click += new EventHandler(this.btnNew_Click); this.btnEdit.Location = new Point(0x54, 3); this.btnEdit.Name = "btnEdit"; this.btnEdit.Size = new Size(0x4b, 0x17); this.btnEdit.TabIndex = 4; this.btnEdit.Text = "Edit"; this.btnEdit.UseVisualStyleBackColor = true; this.btnEdit.Click += new EventHandler(this.btnEdit_Click); this.btnDelete.Location = new Point(0xa5, 3); this.btnDelete.Name = "btnDelete"; this.btnDelete.Size = new Size(0x4b, 0x17); this.btnDelete.TabIndex = 3; this.btnDelete.Text = "Delete"; this.btnDelete.UseVisualStyleBackColor = true; this.btnDelete.Click += new EventHandler(this.btnDelete_Click); this.btnLaunch.Anchor = AnchorStyles.Right | AnchorStyles.Top; this.btnLaunch.Location = new Point(0x21f, 3); this.btnLaunch.Margin = new Padding(3, 3, 6, 3); this.btnLaunch.Name = "btnLaunch"; this.btnLaunch.Size = new Size(0x4b, 0x17); this.btnLaunch.TabIndex = 3; this.btnLaunch.Text = "Play"; this.btnLaunch.UseVisualStyleBackColor = true; this.btnLaunch.Click += new EventHandler(this.btnLaunch_Click); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x270, 0x1ba); base.Controls.Add(this.tblMain); base.Icon = (Icon)manager.GetObject("$this.Icon"); base.Name = "SourcePortViewForm"; base.ShowIcon = false; this.Text = "Source Ports"; this.tblMain.ResumeLayout(false); ((ISupportInitialize)this.dgvSourcePorts).EndInit(); this.tableLayoutPanelDB1.ResumeLayout(false); this.flpButtons.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(FileSelectForm)); this.btnOK = new Button(); this.btnCancel = new Button(); this.tblMain = new TableLayoutPanelDB(); this.flpButtons = new FlowLayoutPanel(); this.flpSearch = new FlowLayoutPanel(); this.ctrlSearch = new SearchControl(); this.lblText = new Label(); this.btnSearch = new Button(); this.tabControl = new TabControl(); this.tblMain.SuspendLayout(); this.flpButtons.SuspendLayout(); this.flpSearch.SuspendLayout(); base.SuspendLayout(); this.btnOK.DialogResult = DialogResult.OK; this.btnOK.Location = new Point(0x1d1, 3); this.btnOK.Name = "btnOK"; this.btnOK.Size = new Size(0x4b, 0x17); this.btnOK.TabIndex = 1; this.btnOK.Text = "OK"; this.btnOK.UseVisualStyleBackColor = true; this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Location = new Point(0x222, 3); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new Size(0x4b, 0x17); this.btnCancel.TabIndex = 0; this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = true; this.tblMain.ColumnCount = 1; this.tblMain.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.tblMain.Controls.Add(this.flpButtons, 0, 2); this.tblMain.Controls.Add(this.flpSearch, 0, 0); this.tblMain.Controls.Add(this.tabControl, 0, 1); this.tblMain.Dock = DockStyle.Fill; this.tblMain.Location = new Point(0, 0); this.tblMain.Margin = new Padding(0); this.tblMain.Name = "tblMain"; this.tblMain.RowCount = 3; this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 32f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Percent, 100f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 32f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 20f)); this.tblMain.Size = new Size(0x270, 0x1ba); this.tblMain.TabIndex = 0; this.flpButtons.Controls.Add(this.btnCancel); this.flpButtons.Controls.Add(this.btnOK); this.flpButtons.Dock = DockStyle.Fill; this.flpButtons.FlowDirection = FlowDirection.RightToLeft; this.flpButtons.Location = new Point(0, 410); this.flpButtons.Margin = new Padding(0); this.flpButtons.Name = "flpButtons"; this.flpButtons.Size = new Size(0x270, 0x20); this.flpButtons.TabIndex = 1; this.flpSearch.Controls.Add(this.ctrlSearch); this.flpSearch.Controls.Add(this.lblText); this.flpSearch.Controls.Add(this.btnSearch); this.flpSearch.Dock = DockStyle.Fill; this.flpSearch.Location = new Point(0, 0); this.flpSearch.Margin = new Padding(0); this.flpSearch.Name = "flpSearch"; this.flpSearch.Size = new Size(0x270, 0x20); this.flpSearch.TabIndex = 2; this.ctrlSearch.Location = new Point(6, 4); this.ctrlSearch.Margin = new Padding(6, 4, 3, 3); this.ctrlSearch.Name = "ctrlSearch"; this.ctrlSearch.SearchText = ""; this.ctrlSearch.Size = new Size(0x8e, 0x17); this.ctrlSearch.TabIndex = 2; this.lblText.Anchor = AnchorStyles.Left; this.lblText.AutoSize = true; this.lblText.Location = new Point(0x9a, 8); this.lblText.Name = "lblText"; this.lblText.Size = new Size(0, 13); this.lblText.TabIndex = 4; this.btnSearch.BackgroundImageLayout = ImageLayout.None; this.btnSearch.FlatAppearance.BorderColor = Color.Silver; this.btnSearch.Image = (Image)manager.GetObject("btnSearch.Image"); this.btnSearch.ImageAlign = ContentAlignment.TopCenter; this.btnSearch.Location = new Point(0x9d, 2); this.btnSearch.Margin = new Padding(0, 2, 3, 3); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new Size(80, 0x18); this.btnSearch.TabIndex = 5; this.btnSearch.Text = "Search"; this.btnSearch.TextImageRelation = TextImageRelation.ImageBeforeText; this.btnSearch.UseVisualStyleBackColor = true; this.btnSearch.Click += new EventHandler(this.btnSearch_Click); this.tabControl.Dock = DockStyle.Fill; this.tabControl.Location = new Point(3, 0x23); this.tabControl.Name = "tabControl"; this.tabControl.SelectedIndex = 0; this.tabControl.Size = new Size(0x26a, 0x174); this.tabControl.TabIndex = 3; base.AcceptButton = this.btnOK; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.btnCancel; base.ClientSize = new Size(0x270, 0x1ba); base.Controls.Add(this.tblMain); base.Icon = (Icon)manager.GetObject("$this.Icon"); base.Name = "FileSelectForm"; base.ShowIcon = false; this.Text = "Select File"; this.tblMain.ResumeLayout(false); this.flpButtons.ResumeLayout(false); this.flpSearch.ResumeLayout(false); this.flpSearch.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(GameFileAssociationView)); this.ctrlScreenshotView = new ScreenshotView(); this.mnuOptions = new ContextMenuStrip(this.components); this.copyFileToolStripMenuItem = new ToolStripMenuItem(); this.copyAllFilesToolStripMenuItem = new ToolStripMenuItem(); this.deleteToolStripMenuItem = new ToolStripMenuItem(); this.toolStripSeparator1 = new ToolStripSeparator(); this.addFileToolStripMenuItem = new ToolStripMenuItem(); this.openFileToolStripMenuItem = new ToolStripMenuItem(); this.toolStripSeparator2 = new ToolStripSeparator(); this.editDetailsToolStripMenuItem = new ToolStripMenuItem(); this.toolStripSeparator3 = new ToolStripSeparator(); this.moveUpToolStripMenuItem = new ToolStripMenuItem(); this.moveDownToolStripMenuItem = new ToolStripMenuItem(); this.setFirstToolStripMenuItem = new ToolStripMenuItem(); this.tblMain = new TableLayoutPanelDB(); this.tabControl = new TabControl(); this.tabPageDemos = new TabPage(); this.ctrlDemoView = new GenericFileView(); this.tabPageSaveGames = new TabPage(); this.ctrlSaveGameView = new GenericFileView(); this.tabPageStatistics = new TabPage(); this.ctrlViewStats = new StatisticsView(); this.toolStrip1 = new ToolStrip(); this.btnCopy = new ToolStripButton(); this.btnCopyAll = new ToolStripButton(); this.btnDelete = new ToolStripButton(); this.toolStripSeparator7 = new ToolStripSeparator(); this.btnAddFile = new ToolStripButton(); this.btnOpenFile = new ToolStripButton(); this.toolStripSeparator4 = new ToolStripSeparator(); this.btnEdit = new ToolStripButton(); this.toolStripSeparator5 = new ToolStripSeparator(); this.btnMoveUp = new ToolStripButton(); this.btnMoveDown = new ToolStripButton(); this.btnSetFirst = new ToolStripButton(); TabPage page = new TabPage(); page.SuspendLayout(); this.mnuOptions.SuspendLayout(); this.tblMain.SuspendLayout(); this.tabControl.SuspendLayout(); this.tabPageDemos.SuspendLayout(); this.tabPageSaveGames.SuspendLayout(); this.tabPageStatistics.SuspendLayout(); this.toolStrip1.SuspendLayout(); base.SuspendLayout(); page.Controls.Add(this.ctrlScreenshotView); page.Location = new Point(4, 0x16); page.Name = "tabPageScreenshots"; page.Padding = new Padding(3); page.Size = new Size(0x2aa, 0xce); page.TabIndex = 0; page.Text = "Screenshots"; page.UseVisualStyleBackColor = true; this.ctrlScreenshotView.DataDirectory = null; this.ctrlScreenshotView.DataSourceAdapter = null; this.ctrlScreenshotView.Dock = DockStyle.Fill; this.ctrlScreenshotView.FileType = FileType.Unknown; this.ctrlScreenshotView.GameFile = null; this.ctrlScreenshotView.Location = new Point(3, 3); this.ctrlScreenshotView.Name = "ctrlScreenshotView"; this.ctrlScreenshotView.Size = new Size(0x2a4, 200); this.ctrlScreenshotView.TabIndex = 0; ToolStripItem[] toolStripItems = new ToolStripItem[] { this.copyFileToolStripMenuItem, this.copyAllFilesToolStripMenuItem, this.deleteToolStripMenuItem, this.toolStripSeparator1, this.addFileToolStripMenuItem, this.openFileToolStripMenuItem, this.toolStripSeparator2, this.editDetailsToolStripMenuItem, this.toolStripSeparator3, this.moveUpToolStripMenuItem, this.moveDownToolStripMenuItem, this.setFirstToolStripMenuItem }; this.mnuOptions.Items.AddRange(toolStripItems); this.mnuOptions.Name = "mnuOptions"; this.mnuOptions.Size = new Size(0x92, 220); this.copyFileToolStripMenuItem.Name = "copyFileToolStripMenuItem"; this.copyFileToolStripMenuItem.Size = new Size(0x91, 0x16); this.copyFileToolStripMenuItem.Text = "Copy File"; this.copyFileToolStripMenuItem.Click += new EventHandler(this.copyFileToolStripMenuItem_Click); this.copyAllFilesToolStripMenuItem.Name = "copyAllFilesToolStripMenuItem"; this.copyAllFilesToolStripMenuItem.Size = new Size(0x91, 0x16); this.copyAllFilesToolStripMenuItem.Text = "Copy All Files"; this.copyAllFilesToolStripMenuItem.Click += new EventHandler(this.copyAllFilesToolStripMenuItem_Click); this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; this.deleteToolStripMenuItem.Size = new Size(0x91, 0x16); this.deleteToolStripMenuItem.Text = "Delete"; this.deleteToolStripMenuItem.Click += new EventHandler(this.deleteToolStripMenuItem_Click); this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new Size(0x8e, 6); this.addFileToolStripMenuItem.Name = "addFileToolStripMenuItem"; this.addFileToolStripMenuItem.Size = new Size(0x91, 0x16); this.addFileToolStripMenuItem.Text = "Add File..."; this.addFileToolStripMenuItem.Click += new EventHandler(this.addFileToolStripMenuItem_Click); this.openFileToolStripMenuItem.Name = "openFileToolStripMenuItem"; this.openFileToolStripMenuItem.Size = new Size(0x91, 0x16); this.openFileToolStripMenuItem.Text = "Open File..."; this.openFileToolStripMenuItem.Click += new EventHandler(this.openFileToolStripMenuItem_Click); this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new Size(0x8e, 6); this.editDetailsToolStripMenuItem.Name = "editDetailsToolStripMenuItem"; this.editDetailsToolStripMenuItem.Size = new Size(0x91, 0x16); this.editDetailsToolStripMenuItem.Text = "Edit Details..."; this.editDetailsToolStripMenuItem.Click += new EventHandler(this.editDetailsToolStripMenuItem_Click); this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new Size(0x8e, 6); this.moveUpToolStripMenuItem.Name = "moveUpToolStripMenuItem"; this.moveUpToolStripMenuItem.Size = new Size(0x91, 0x16); this.moveUpToolStripMenuItem.Text = "Move Up"; this.moveUpToolStripMenuItem.Click += new EventHandler(this.moveUpToolStripMenuItem_Click); this.moveDownToolStripMenuItem.Name = "moveDownToolStripMenuItem"; this.moveDownToolStripMenuItem.Size = new Size(0x91, 0x16); this.moveDownToolStripMenuItem.Text = "Move Down"; this.moveDownToolStripMenuItem.Click += new EventHandler(this.moveDownToolStripMenuItem_Click); this.setFirstToolStripMenuItem.Name = "setFirstToolStripMenuItem"; this.setFirstToolStripMenuItem.Size = new Size(0x91, 0x16); this.setFirstToolStripMenuItem.Text = "Set First"; this.setFirstToolStripMenuItem.Click += new EventHandler(this.setFirstToolStripMenuItem_Click); this.tblMain.ColumnCount = 1; this.tblMain.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.tblMain.Controls.Add(this.tabControl, 0, 1); this.tblMain.Controls.Add(this.toolStrip1, 0, 0); this.tblMain.Dock = DockStyle.Fill; this.tblMain.Location = new Point(0, 0); this.tblMain.Name = "tblMain"; this.tblMain.RowCount = 2; this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 24f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Percent, 100f)); this.tblMain.Size = new Size(0x2b8, 0x106); this.tblMain.TabIndex = 1; this.tabControl.Controls.Add(page); this.tabControl.Controls.Add(this.tabPageDemos); this.tabControl.Controls.Add(this.tabPageSaveGames); this.tabControl.Controls.Add(this.tabPageStatistics); this.tabControl.Dock = DockStyle.Fill; this.tabControl.Location = new Point(3, 0x1b); this.tabControl.Name = "tabControl"; this.tabControl.SelectedIndex = 0; this.tabControl.Size = new Size(690, 0xe8); this.tabControl.TabIndex = 0; this.tabPageDemos.Controls.Add(this.ctrlDemoView); this.tabPageDemos.Location = new Point(4, 0x16); this.tabPageDemos.Name = "tabPageDemos"; this.tabPageDemos.Size = new Size(0x2aa, 0xce); this.tabPageDemos.TabIndex = 1; this.tabPageDemos.Text = "Demos"; this.tabPageDemos.UseVisualStyleBackColor = true; this.ctrlDemoView.DataDirectory = null; this.ctrlDemoView.DataSourceAdapter = null; this.ctrlDemoView.Dock = DockStyle.Fill; this.ctrlDemoView.FileType = FileType.Unknown; this.ctrlDemoView.GameFile = null; this.ctrlDemoView.Location = new Point(0, 0); this.ctrlDemoView.Name = "ctrlDemoView"; this.ctrlDemoView.Size = new Size(0x2aa, 0xce); this.ctrlDemoView.TabIndex = 0; this.tabPageSaveGames.Controls.Add(this.ctrlSaveGameView); this.tabPageSaveGames.Location = new Point(4, 0x16); this.tabPageSaveGames.Margin = new Padding(0); this.tabPageSaveGames.Name = "tabPageSaveGames"; this.tabPageSaveGames.Size = new Size(0x2aa, 0xce); this.tabPageSaveGames.TabIndex = 2; this.tabPageSaveGames.Text = "Save Games"; this.tabPageSaveGames.UseVisualStyleBackColor = true; this.ctrlSaveGameView.DataDirectory = null; this.ctrlSaveGameView.DataSourceAdapter = null; this.ctrlSaveGameView.Dock = DockStyle.Fill; this.ctrlSaveGameView.FileType = FileType.Unknown; this.ctrlSaveGameView.GameFile = null; this.ctrlSaveGameView.Location = new Point(0, 0); this.ctrlSaveGameView.Name = "ctrlSaveGameView"; this.ctrlSaveGameView.Size = new Size(0x2aa, 0xce); this.ctrlSaveGameView.TabIndex = 1; this.tabPageStatistics.Controls.Add(this.ctrlViewStats); this.tabPageStatistics.Location = new Point(4, 0x16); this.tabPageStatistics.Name = "tabPageStatistics"; this.tabPageStatistics.Size = new Size(0x2aa, 0xce); this.tabPageStatistics.TabIndex = 3; this.tabPageStatistics.Text = "Statistics"; this.tabPageStatistics.UseVisualStyleBackColor = true; this.ctrlViewStats.DataSourceAdapter = null; this.ctrlViewStats.Dock = DockStyle.Fill; this.ctrlViewStats.GameFile = null; this.ctrlViewStats.Location = new Point(0, 0); this.ctrlViewStats.Name = "ctrlViewStats"; this.ctrlViewStats.Size = new Size(0x2aa, 0xce); this.ctrlViewStats.TabIndex = 0; this.toolStrip1.Dock = DockStyle.None; ToolStripItem[] itemArray2 = new ToolStripItem[] { this.btnCopy, this.btnCopyAll, this.btnDelete, this.toolStripSeparator7, this.btnAddFile, this.btnOpenFile, this.toolStripSeparator4, this.btnEdit, this.toolStripSeparator5, this.btnMoveUp, this.btnMoveDown, this.btnSetFirst }; this.toolStrip1.Items.AddRange(itemArray2); this.toolStrip1.Location = new Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new Size(0x10c, 0x18); this.toolStrip1.TabIndex = 1; this.toolStrip1.Text = "toolStrip1"; this.btnCopy.DisplayStyle = ToolStripItemDisplayStyle.Image; this.btnCopy.Image = (Image)manager.GetObject("btnCopy.Image"); this.btnCopy.ImageTransparentColor = Color.Magenta; this.btnCopy.Name = "btnCopy"; this.btnCopy.Size = new Size(0x17, 0x15); this.btnCopy.Text = "Copy to Clipboard"; this.btnCopy.Click += new EventHandler(this.btnCopy_Click); this.btnCopyAll.DisplayStyle = ToolStripItemDisplayStyle.Image; this.btnCopyAll.Image = (Image)manager.GetObject("btnCopyAll.Image"); this.btnCopyAll.ImageTransparentColor = Color.Magenta; this.btnCopyAll.Name = "btnCopyAll"; this.btnCopyAll.Size = new Size(0x17, 0x15); this.btnCopyAll.Text = "Copy All to Clipboard"; this.btnCopyAll.Click += new EventHandler(this.btnCopyAll_Click); this.btnDelete.DisplayStyle = ToolStripItemDisplayStyle.Image; this.btnDelete.Image = (Image)manager.GetObject("btnDelete.Image"); this.btnDelete.ImageTransparentColor = Color.Magenta; this.btnDelete.Name = "btnDelete"; this.btnDelete.Size = new Size(0x17, 0x15); this.btnDelete.Text = "Delete"; this.btnDelete.Click += new EventHandler(this.btnDelete_Click); this.toolStripSeparator7.Name = "toolStripSeparator7"; this.toolStripSeparator7.Size = new Size(6, 0x18); this.btnAddFile.DisplayStyle = ToolStripItemDisplayStyle.Image; this.btnAddFile.Image = (Image)manager.GetObject("btnAddFile.Image"); this.btnAddFile.ImageTransparentColor = Color.Magenta; this.btnAddFile.Name = "btnAddFile"; this.btnAddFile.Size = new Size(0x17, 0x15); this.btnAddFile.Text = "Add File"; this.btnAddFile.Click += new EventHandler(this.btnAddFile_Click); this.btnOpenFile.DisplayStyle = ToolStripItemDisplayStyle.Image; this.btnOpenFile.Image = (Image)manager.GetObject("btnOpenFile.Image"); this.btnOpenFile.ImageTransparentColor = Color.Magenta; this.btnOpenFile.Name = "btnOpenFile"; this.btnOpenFile.Size = new Size(0x17, 0x15); this.btnOpenFile.Text = "Open File"; this.btnOpenFile.Click += new EventHandler(this.btnOpenFile_Click); this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new Size(6, 0x18); this.btnEdit.DisplayStyle = ToolStripItemDisplayStyle.Image; this.btnEdit.Image = (Image)manager.GetObject("btnEdit.Image"); this.btnEdit.ImageTransparentColor = Color.Magenta; this.btnEdit.Name = "btnEdit"; this.btnEdit.Size = new Size(0x17, 0x15); this.btnEdit.Text = "Edit Details"; this.btnEdit.Click += new EventHandler(this.btnEdit_Click); this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new Size(6, 0x18); this.btnMoveUp.DisplayStyle = ToolStripItemDisplayStyle.Image; this.btnMoveUp.Image = (Image)manager.GetObject("btnMoveUp.Image"); this.btnMoveUp.ImageTransparentColor = Color.Magenta; this.btnMoveUp.Name = "btnMoveUp"; this.btnMoveUp.Size = new Size(0x17, 0x15); this.btnMoveUp.Text = "Move Up"; this.btnMoveUp.Click += new EventHandler(this.btnMoveUp_Click); this.btnMoveDown.DisplayStyle = ToolStripItemDisplayStyle.Image; this.btnMoveDown.Image = (Image)manager.GetObject("btnMoveDown.Image"); this.btnMoveDown.ImageTransparentColor = Color.Magenta; this.btnMoveDown.Name = "btnMoveDown"; this.btnMoveDown.Size = new Size(0x17, 0x15); this.btnMoveDown.Text = "Move Down"; this.btnMoveDown.Click += new EventHandler(this.btnMoveDown_Click); this.btnSetFirst.DisplayStyle = ToolStripItemDisplayStyle.Image; this.btnSetFirst.Image = (Image)manager.GetObject("btnSetFirst.Image"); this.btnSetFirst.ImageTransparentColor = Color.Magenta; this.btnSetFirst.Name = "btnSetFirst"; this.btnSetFirst.Size = new Size(0x17, 0x15); this.btnSetFirst.Text = "Set First"; this.btnSetFirst.TextAlign = ContentAlignment.MiddleRight; this.btnSetFirst.Click += new EventHandler(this.btnSetFirst_Click); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.tblMain); base.Name = "GameFileAssociationView"; base.Size = new Size(0x2b8, 0x106); page.ResumeLayout(false); this.mnuOptions.ResumeLayout(false); this.tblMain.ResumeLayout(false); this.tblMain.PerformLayout(); this.tabControl.ResumeLayout(false); this.tabPageDemos.ResumeLayout(false); this.tabPageSaveGames.ResumeLayout(false); this.tabPageStatistics.ResumeLayout(false); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { this.btnSave = new Button(); this.button1 = new Button(); this.tblMain = new TableLayoutPanelDB(); this.label1 = new Label(); this.label2 = new Label(); this.txtDescription = new TextBox(); this.cmbSourcePort = new ComboBox(); this.flowLayoutPanel1 = new FlowLayoutPanel(); this.tblMain.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); base.SuspendLayout(); this.btnSave.DialogResult = DialogResult.OK; this.btnSave.Location = new Point(0x7d, 3); this.btnSave.Name = "btnSave"; this.btnSave.Size = new Size(0x4b, 0x17); this.btnSave.TabIndex = 1; this.btnSave.Text = "Save"; this.btnSave.UseVisualStyleBackColor = true; this.button1.DialogResult = DialogResult.Cancel; this.button1.Location = new Point(0xce, 3); this.button1.Name = "button1"; this.button1.Size = new Size(0x4b, 0x17); this.button1.TabIndex = 0; this.button1.Text = "Cancel"; this.button1.UseVisualStyleBackColor = true; this.tblMain.ColumnCount = 2; this.tblMain.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 100f)); this.tblMain.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.tblMain.Controls.Add(this.label1, 0, 0); this.tblMain.Controls.Add(this.label2, 0, 1); this.tblMain.Controls.Add(this.txtDescription, 1, 1); this.tblMain.Controls.Add(this.cmbSourcePort, 1, 0); this.tblMain.Controls.Add(this.flowLayoutPanel1, 1, 2); this.tblMain.Dock = DockStyle.Fill; this.tblMain.Location = new Point(0, 0); this.tblMain.Name = "tblMain"; this.tblMain.RowCount = 3; this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 32f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Percent, 100f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 32f)); this.tblMain.Size = new Size(0x180, 0x106); this.tblMain.TabIndex = 0; this.label1.Anchor = AnchorStyles.Left; this.label1.AutoSize = true; this.label1.Location = new Point(3, 9); this.label1.Name = "label1"; this.label1.Size = new Size(0x3f, 13); this.label1.TabIndex = 0; this.label1.Text = "Source Port"; this.label2.Anchor = AnchorStyles.Left; this.label2.AutoSize = true; this.label2.Location = new Point(3, 0x7c); this.label2.Name = "label2"; this.label2.Size = new Size(60, 13); this.label2.TabIndex = 1; this.label2.Text = "Description"; this.txtDescription.Dock = DockStyle.Fill; this.txtDescription.Location = new Point(0x67, 0x23); this.txtDescription.Multiline = true; this.txtDescription.Name = "txtDescription"; this.txtDescription.Size = new Size(0x116, 0xc0); this.txtDescription.TabIndex = 2; this.cmbSourcePort.Dock = DockStyle.Fill; this.cmbSourcePort.FormattingEnabled = true; this.cmbSourcePort.Location = new Point(0x67, 3); this.cmbSourcePort.Name = "cmbSourcePort"; this.cmbSourcePort.Size = new Size(0x116, 0x15); this.cmbSourcePort.TabIndex = 3; this.flowLayoutPanel1.Controls.Add(this.button1); this.flowLayoutPanel1.Controls.Add(this.btnSave); this.flowLayoutPanel1.Dock = DockStyle.Fill; this.flowLayoutPanel1.FlowDirection = FlowDirection.RightToLeft; this.flowLayoutPanel1.Location = new Point(100, 230); this.flowLayoutPanel1.Margin = new Padding(0); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new Size(0x11c, 0x20); this.flowLayoutPanel1.TabIndex = 4; base.AcceptButton = this.btnSave; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.CancelButton = this.button1; base.ClientSize = new Size(0x180, 0x106); base.Controls.Add(this.tblMain); base.Name = "FileDetailsEditForm"; base.ShowIcon = false; this.Text = "Details"; this.tblMain.ResumeLayout(false); this.tblMain.PerformLayout(); this.flowLayoutPanel1.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { this.tblMain = new TableLayoutPanelDB(); this.lblTimePlayed = new Label(); this.lblTitle = new GrowLabel(); this.txtDescription = new TextBox(); this.pbImage = new PictureBox(); this.lblTags = new GrowLabel(); this.ctrlStats = new StatsControl(); this.tblMain.SuspendLayout(); ((ISupportInitialize)this.pbImage).BeginInit(); base.SuspendLayout(); this.tblMain.CellBorderStyle = TableLayoutPanelCellBorderStyle.Single; this.tblMain.ColumnCount = 1; this.tblMain.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.tblMain.Controls.Add(this.lblTimePlayed, 0, 2); this.tblMain.Controls.Add(this.lblTitle, 0, 0); this.tblMain.Controls.Add(this.txtDescription, 0, 5); this.tblMain.Controls.Add(this.pbImage, 0, 1); this.tblMain.Controls.Add(this.lblTags, 0, 4); this.tblMain.Controls.Add(this.ctrlStats, 0, 3); this.tblMain.Dock = DockStyle.Fill; this.tblMain.Location = new Point(0, 0); this.tblMain.Margin = new Padding(0); this.tblMain.Name = "tblMain"; this.tblMain.RowCount = 6; this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 40f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 200f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 40f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 78f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Absolute, 40f)); this.tblMain.RowStyles.Add(new RowStyle(SizeType.Percent, 100f)); this.tblMain.Size = new Size(0xcc, 0x28e); this.tblMain.TabIndex = 0; this.lblTimePlayed.Anchor = AnchorStyles.Left; this.lblTimePlayed.AutoSize = true; this.lblTimePlayed.Location = new Point(4, 0x100); this.lblTimePlayed.Name = "lblTimePlayed"; this.lblTimePlayed.Size = new Size(0x44, 13); this.lblTimePlayed.TabIndex = 7; this.lblTimePlayed.Text = "Time Played:"; this.lblTitle.Anchor = AnchorStyles.None; this.lblTitle.AutoSize = true; this.lblTitle.Font = new Font("Arial", 12f, FontStyle.Bold, GraphicsUnit.Point, 0); this.lblTitle.Location = new Point(0x51, 11); this.lblTitle.Name = "lblTitle"; this.lblTitle.Size = new Size(0x29, 0x13); this.lblTitle.TabIndex = 4; this.lblTitle.Text = "Title"; this.lblTitle.UseMnemonic = false; this.txtDescription.BackColor = SystemColors.Window; this.txtDescription.Dock = DockStyle.Fill; this.txtDescription.Location = new Point(4, 0x197); this.txtDescription.Multiline = true; this.txtDescription.Name = "txtDescription"; this.txtDescription.ReadOnly = true; this.txtDescription.Size = new Size(0xc4, 0xf3); this.txtDescription.TabIndex = 1; this.txtDescription.TextChanged += new EventHandler(this.txtDescription_TextChanged); this.pbImage.Dock = DockStyle.Fill; this.pbImage.Location = new Point(4, 0x2d); this.pbImage.Name = "pbImage"; this.pbImage.Size = new Size(0xc4, 0xc2); this.pbImage.SizeMode = PictureBoxSizeMode.StretchImage; this.pbImage.TabIndex = 2; this.pbImage.TabStop = false; this.lblTags.Anchor = AnchorStyles.Left; this.lblTags.AutoSize = true; this.lblTags.Location = new Point(4, 0x178); this.lblTags.Name = "lblTags"; this.lblTags.Size = new Size(0x22, 13); this.lblTags.TabIndex = 5; this.lblTags.Text = "Tags:"; this.ctrlStats.Dock = DockStyle.Fill; this.ctrlStats.Location = new Point(1, 0x11c); this.ctrlStats.Margin = new Padding(0); this.ctrlStats.Name = "ctrlStats"; this.ctrlStats.Size = new Size(0xca, 0x4e); this.ctrlStats.TabIndex = 8; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.tblMain); base.Name = "GameFileSummary"; base.Size = new Size(0xcc, 0x28e); base.ClientSizeChanged += new EventHandler(this.GameFileSummary_ClientSizeChanged); this.tblMain.ResumeLayout(false); this.tblMain.PerformLayout(); ((ISupportInitialize)this.pbImage).EndInit(); base.ResumeLayout(false); }