private void InitializeComponent() { this._appVersionLabel = new Label(); this._clrVersionLabel = new Label(); Label label = new Label(); AboutDialogButton button = new AboutDialogButton(); this._appVersionLabel.SetBounds(0x75, 0xd8, 240, 0x10); this._appVersionLabel.TabIndex = 1; this._appVersionLabel.TabStop = false; this._appVersionLabel.BackColor = Color.Transparent; this._clrVersionLabel.SetBounds(0x75, 0xe8, 240, 0x10); this._clrVersionLabel.TabIndex = 2; this._clrVersionLabel.TabStop = false; this._clrVersionLabel.BackColor = Color.Transparent; label = new Label(); label.Text = "This program is licensed under the terms of the installed End-User License Agreement."; label.SetBounds(0x75, 0x100, 240, 0x20); label.TabIndex = 3; label.TabStop = false; label.BackColor = Color.Transparent; button.SetBounds(0x18b, 0x10c, 0x4b, 0x17); button.DialogResult = DialogResult.OK; button.TabIndex = 4; button.Text = "OK"; this.Text = "About Microsoft ASP.NET Web Matrix"; base.ClientSize = new Size(0x1dd, 0x143); base.MaximizeBox = false; base.MinimizeBox = false; base.CancelButton = button; base.AcceptButton = button; base.FormBorderStyle = FormBorderStyle.FixedDialog; this.Font = new Font("Tahoma", 8f); base.Icon = null; base.StartPosition = FormStartPosition.CenterParent; base.ShowInTaskbar = false; this.BackgroundImage = new Bitmap(typeof(AboutDialog), "WebIDE.gif"); base.Controls.Add(this._appVersionLabel); base.Controls.Add(this._clrVersionLabel); base.Controls.Add(label); base.Controls.Add(button); }
private void InitializeComponent() { this._okButton = new AboutDialogButton(); this._imagePictureBox = new PictureBox(); this._nameLabel = new Label(); this._versionLabel = new Label(); this._authorLabel = new LinkLabel(); this._descriptionGroup = new GroupBox(); this._descriptionLabel = new Label(); this._descriptionGroup.SuspendLayout(); base.SuspendLayout(); this._okButton.DialogResult = DialogResult.OK; this._okButton.Location = new Point(0x114, 0xc4); this._okButton.Name = "_okButton"; this._okButton.TabIndex = 6; this._okButton.Text = "OK"; this._imagePictureBox.Location = new Point(12, 12); this._imagePictureBox.Name = "_imagePictureBox"; this._imagePictureBox.Size = new Size(0x30, 0x30); this._imagePictureBox.TabIndex = 1; this._imagePictureBox.TabStop = false; this._nameLabel.FlatStyle = FlatStyle.System; this._nameLabel.Font = new Font("Tahoma", 10f, FontStyle.Bold); this._nameLabel.Location = new Point(0x48, 0x10); this._nameLabel.Name = "_nameLabel"; this._nameLabel.Size = new Size(280, 0x12); this._nameLabel.TabIndex = 1; this._versionLabel.FlatStyle = FlatStyle.System; this._versionLabel.Location = new Point(0x48, 0x24); this._versionLabel.Name = "_versionLabel"; this._versionLabel.Size = new Size(280, 0x10); this._versionLabel.TabIndex = 2; this._authorLabel.Location = new Point(0x48, 0x34); this._authorLabel.Name = "_authorLabel"; this._authorLabel.Size = new Size(280, 0x10); this._authorLabel.TabIndex = 3; this._descriptionGroup.Controls.AddRange(new Control[] { this._descriptionLabel }); this._descriptionGroup.FlatStyle = FlatStyle.System; this._descriptionGroup.Location = new Point(0x44, 0x48); this._descriptionGroup.Name = "_descriptionGroup"; this._descriptionGroup.Size = new Size(0x11c, 0x70); this._descriptionGroup.TabIndex = 4; this._descriptionGroup.TabStop = false; this._descriptionGroup.Text = "Description"; this._descriptionLabel.Location = new Point(6, 0x10); this._descriptionLabel.Name = "_descriptionLabel"; this._descriptionLabel.Size = new Size(0x110, 0x58); this._descriptionLabel.TabIndex = 0; this._descriptionLabel.Text = "Description"; base.AcceptButton = this._okButton; this.AutoScaleBaseSize = new Size(5, 13); this.BackColor = Color.White; base.CancelButton = this._okButton; base.ClientSize = new Size(360, 0xe3); base.Controls.AddRange(new Control[] { this._descriptionGroup, this._authorLabel, this._versionLabel, this._nameLabel, this._imagePictureBox, this._okButton }); this.Font = new Font("Tahoma", 8f); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "AboutPluginDialog"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; this.Text = "About Plugin"; this._descriptionGroup.ResumeLayout(false); base.ResumeLayout(false); }