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() { 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); }