About window fixes

This commit is contained in:
Souryo 2017-01-06 21:49:57 -05:00
parent 8b3fd9e643
commit 155f460a77
4 changed files with 70 additions and 21 deletions

View file

@ -28,6 +28,7 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAbout));
this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
this.logoPictureBox = new System.Windows.Forms.PictureBox();
this.labelProductName = new System.Windows.Forms.Label();
this.labelCopyright = new System.Windows.Forms.Label();
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
@ -37,10 +38,9 @@
this.okButton = new System.Windows.Forms.Button();
this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
this.lblAcknowledgments = new System.Windows.Forms.Label();
this.logoPictureBox = new System.Windows.Forms.PictureBox();
this.tableLayoutPanel.SuspendLayout();
this.flowLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).BeginInit();
this.flowLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// tableLayoutPanel
@ -61,7 +61,7 @@
this.tableLayoutPanel.Name = "tableLayoutPanel";
this.tableLayoutPanel.RowCount = 7;
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 0F));
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -70,6 +70,18 @@
this.tableLayoutPanel.Size = new System.Drawing.Size(370, 163);
this.tableLayoutPanel.TabIndex = 0;
//
// logoPictureBox
//
this.logoPictureBox.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.logoPictureBox.Image = global::GUI.Properties.Resources.Icon;
this.logoPictureBox.Location = new System.Drawing.Point(10, 0);
this.logoPictureBox.Margin = new System.Windows.Forms.Padding(0, 0, 0, 5);
this.logoPictureBox.Name = "logoPictureBox";
this.tableLayoutPanel.SetRowSpan(this.logoPictureBox, 4);
this.logoPictureBox.Size = new System.Drawing.Size(64, 65);
this.logoPictureBox.TabIndex = 12;
this.logoPictureBox.TabStop = false;
//
// labelProductName
//
this.labelProductName.Dock = System.Windows.Forms.DockStyle.Fill;
@ -86,7 +98,7 @@
//
this.labelCopyright.Dock = System.Windows.Forms.DockStyle.Fill;
this.labelCopyright.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelCopyright.Location = new System.Drawing.Point(90, 34);
this.labelCopyright.Location = new System.Drawing.Point(90, 17);
this.labelCopyright.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
this.labelCopyright.Name = "labelCopyright";
this.labelCopyright.Size = new System.Drawing.Size(277, 17);
@ -98,7 +110,7 @@
//
this.flowLayoutPanel1.Controls.Add(this.lblWebsite);
this.flowLayoutPanel1.Controls.Add(this.lblLink);
this.flowLayoutPanel1.Location = new System.Drawing.Point(84, 51);
this.flowLayoutPanel1.Location = new System.Drawing.Point(84, 34);
this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(0);
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
this.flowLayoutPanel1.Size = new System.Drawing.Size(236, 18);
@ -135,7 +147,7 @@
this.labelVersion.Location = new System.Drawing.Point(90, 17);
this.labelVersion.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0);
this.labelVersion.Name = "labelVersion";
this.labelVersion.Size = new System.Drawing.Size(146, 17);
this.labelVersion.Size = new System.Drawing.Size(146, 1);
this.labelVersion.TabIndex = 0;
this.labelVersion.Text = "Version: 1.0";
this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@ -169,18 +181,6 @@
this.lblAcknowledgments.TabIndex = 30;
this.lblAcknowledgments.Text = resources.GetString("lblAcknowledgments.Text");
//
// logoPictureBox
//
this.logoPictureBox.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.logoPictureBox.Image = global::GUI.Properties.Resources.Icon;
this.logoPictureBox.Location = new System.Drawing.Point(10, 0);
this.logoPictureBox.Margin = new System.Windows.Forms.Padding(0, 0, 0, 5);
this.logoPictureBox.Name = "logoPictureBox";
this.tableLayoutPanel.SetRowSpan(this.logoPictureBox, 4);
this.logoPictureBox.Size = new System.Drawing.Size(64, 65);
this.logoPictureBox.TabIndex = 12;
this.logoPictureBox.TabStop = false;
//
// frmAbout
//
this.AcceptButton = this.okButton;
@ -190,6 +190,7 @@
this.ClientSize = new System.Drawing.Size(380, 173);
this.Controls.Add(this.tableLayoutPanel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmAbout";
@ -198,9 +199,9 @@
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "About - Mesen";
this.tableLayoutPanel.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).EndInit();
this.flowLayoutPanel1.ResumeLayout(false);
this.flowLayoutPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).EndInit();
this.ResumeLayout(false);
}

View file

@ -119,6 +119,26 @@
</resheader>
<data name="lblAcknowledgments.Text" xml:space="preserve">
<value>Credits to Quietust for all of his work on both the Visual 2A03 and Visual 2C02 - this couldn't exist without them.
Credits to the authors of the original Visual 6502 (Brian Silverman &amp;&amp; Barry Silverman). Much of this software is based on their work.</value>
And thank you to the authors of the original Visual 6502 (Brian Silverman &amp;&amp; Barry Silverman). Much of this software is based on their work.</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAEBAAAAAAGABoAwAAFgAAACgAAAAQAAAAIAAAAAEAGAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAA
AAAqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqX/////////
//////////////////////////////////////////////8qKqUqKqX///////8qKqUqKqUqKqUqKqX/
//////8qKqX///////8qKqX///////8qKqUqKqX///////8qKqX///////////////////8qKqX/////
//8qKqX/+PD///8qKqUqKqX///////////8qKqUqKqX///////////8qKqUqKqUqKqUqKqX/+PD///8q
KqUqKqX///////////////////8qKqX///////8qKqX///////8qKqX/+PD///8qKqUqKqX///////8q
KqUqKqUqKqUqKqX///////8qKqUqKqUqKqUqKqX/+PD///8qKqUqKqX/////////////////////////
//////////////////////////////8qKqUqKqX/////////////////////////////////////////
//////////////8qKqUqKqX///////8qKqUqKqUqKqUqKqX///////8qKqUqKqUqKqUqKqX///////8q
KqUqKqX///////8qKqX///////////////////8qKqX///////////////////8qKqUqKqX/////////
//8qKqUqKqX///////////8qKqX///////////////////8qKqUqKqX///////////////////8qKqX/
//////8qKqX///////////////////8qKqUqKqX///////8qKqUqKqUqKqUqKqX///////8qKqUqKqUq
KqUqKqX/+PD///8qKqUqKqX///////////////////////////////////////////////////////8q
KqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUqKqUAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
</value>
</data>
</root>

View file

@ -74,6 +74,8 @@
this.stepToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.nextPixelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem();
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.mnuAbout = new System.Windows.Forms.ToolStripMenuItem();
this.splitContainer1 = new GUI.ctrlSplitContainer();
this.ctrlChipDisplay = new GUI.ctrlChipDisplay();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
@ -243,7 +245,8 @@
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem,
this.debugToolStripMenuItem1,
this.optionsToolStripMenuItem});
this.optionsToolStripMenuItem,
this.helpToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(1079, 24);
@ -613,6 +616,22 @@
this.toolStripMenuItem3.Name = "toolStripMenuItem3";
this.toolStripMenuItem3.Size = new System.Drawing.Size(125, 22);
//
// helpToolStripMenuItem
//
this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.mnuAbout});
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
this.helpToolStripMenuItem.Text = "Help";
//
// mnuAbout
//
this.mnuAbout.Image = global::GUI.Properties.Resources.Icon;
this.mnuAbout.Name = "mnuAbout";
this.mnuAbout.Size = new System.Drawing.Size(152, 22);
this.mnuAbout.Text = "About";
this.mnuAbout.Click += new System.EventHandler(this.mnuAbout_Click);
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
@ -2242,6 +2261,8 @@
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel10;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.ComboBox cboLogMaxLines;
private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem mnuAbout;
}
}

View file

@ -713,5 +713,12 @@ namespace GUI
hexBox.BytesPerLine = 16;
}
}
private void mnuAbout_Click(object sender, EventArgs e)
{
using(frmAbout frm = new frmAbout()) {
frm.ShowDialog();
}
}
}
}