Added an "About Zone Builder" tab to the About window

This commit is contained in:
MascaraSnake 2016-01-03 18:33:42 +01:00
parent 85c53c2d42
commit 3e9a3d91ea
6 changed files with 283 additions and 224 deletions

View file

@ -697,6 +697,8 @@
<EmbeddedResource Include="Resources\MissingTexture3D.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\ZBLogo.bmp" />
<None Include="Resources\ZBLogo.png" />
<Content Include="ZB.ico" />
<None Include="Resources\zonebuilder.png" />
<None Include="Resources\ZoneBuilder.bmp" />

View file

@ -1460,6 +1460,16 @@ namespace CodeImp.DoomBuilder.Properties {
}
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap ZBLogo {
get {
object obj = ResourceManager.GetObject("ZBLogo", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
/// </summary>

View file

@ -547,4 +547,7 @@
<data name="zonebuilder" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zonebuilder.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="ZBLogo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ZBLogo.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

View file

@ -36,11 +36,14 @@ namespace CodeImp.DoomBuilder.Windows
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.codeimplink = new System.Windows.Forms.LinkLabel();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.label2 = new System.Windows.Forms.Label();
this.copyversion = new System.Windows.Forms.Button();
this.version = new System.Windows.Forms.Label();
this.pictureBox5 = new System.Windows.Forms.PictureBox();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.pictureBox4 = new System.Windows.Forms.PictureBox();
this.gzdbLink = new System.Windows.Forms.LinkLabel();
this.copyversion = new System.Windows.Forms.Button();
this.version = new System.Windows.Forms.Label();
this.tabPage2 = new System.Windows.Forms.TabPage();
label1 = new System.Windows.Forms.Label();
pictureBox1 = new System.Windows.Forms.PictureBox();
@ -49,6 +52,8 @@ namespace CodeImp.DoomBuilder.Windows
((System.ComponentModel.ISupportInitialize)(pictureBox3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
this.tabControl1.SuspendLayout();
this.tabPage3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit();
this.tabPage1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
this.tabPage2.SuspendLayout();
@ -134,6 +139,7 @@ namespace CodeImp.DoomBuilder.Windows
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage3);
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
@ -144,13 +150,65 @@ namespace CodeImp.DoomBuilder.Windows
this.tabControl1.Size = new System.Drawing.Size(391, 227);
this.tabControl1.TabIndex = 11;
//
// tabPage3
//
this.tabPage3.Controls.Add(this.label2);
this.tabPage3.Controls.Add(this.copyversion);
this.tabPage3.Controls.Add(this.version);
this.tabPage3.Controls.Add(this.pictureBox5);
this.tabPage3.Location = new System.Drawing.Point(4, 22);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
this.tabPage3.Size = new System.Drawing.Size(383, 201);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "About Zone Builder";
this.tabPage3.UseVisualStyleBackColor = true;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label2.Location = new System.Drawing.Point(10, 144);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(278, 13);
this.label2.TabIndex = 16;
this.label2.Text = "Zone Builder is developed by MascaraSnake and toaster.";
//
// copyversion
//
this.copyversion.Location = new System.Drawing.Point(266, 100);
this.copyversion.Name = "copyversion";
this.copyversion.Size = new System.Drawing.Size(108, 25);
this.copyversion.TabIndex = 15;
this.copyversion.Text = "Copy Version";
this.copyversion.UseVisualStyleBackColor = true;
this.copyversion.Click += new System.EventHandler(this.copyversion_Click);
//
// version
//
this.version.AutoSize = true;
this.version.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.version.Location = new System.Drawing.Point(10, 100);
this.version.Name = "version";
this.version.Size = new System.Drawing.Size(157, 13);
this.version.TabIndex = 14;
this.version.Text = "Zone Builder some version";
//
// pictureBox5
//
this.pictureBox5.BackColor = System.Drawing.Color.Silver;
this.pictureBox5.Image = global::CodeImp.DoomBuilder.Properties.Resources.ZBLogo;
this.pictureBox5.Location = new System.Drawing.Point(6, 6);
this.pictureBox5.Name = "pictureBox5";
this.pictureBox5.Size = new System.Drawing.Size(226, 80);
this.pictureBox5.TabIndex = 0;
this.pictureBox5.TabStop = false;
//
// tabPage1
//
this.tabPage1.Controls.Add(pictureBox3);
this.tabPage1.Controls.Add(this.pictureBox4);
this.tabPage1.Controls.Add(this.gzdbLink);
this.tabPage1.Controls.Add(this.copyversion);
this.tabPage1.Controls.Add(this.version);
this.tabPage1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.tabPage1.Location = new System.Drawing.Point(4, 22);
this.tabPage1.Name = "tabPage1";
@ -185,26 +243,6 @@ namespace CodeImp.DoomBuilder.Windows
this.gzdbLink.UseCompatibleTextRendering = true;
this.gzdbLink.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.gzdbLink_LinkClicked);
//
// copyversion
//
this.copyversion.Location = new System.Drawing.Point(269, 97);
this.copyversion.Name = "copyversion";
this.copyversion.Size = new System.Drawing.Size(108, 25);
this.copyversion.TabIndex = 13;
this.copyversion.Text = "Copy Version";
this.copyversion.UseVisualStyleBackColor = true;
this.copyversion.Click += new System.EventHandler(this.copyversion_Click);
//
// version
//
this.version.AutoSize = true;
this.version.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.version.Location = new System.Drawing.Point(11, 102);
this.version.Name = "version";
this.version.Size = new System.Drawing.Size(150, 13);
this.version.TabIndex = 11;
this.version.Text = "GZDoom Builder some version";
//
// tabPage2
//
this.tabPage2.Controls.Add(pictureBox1);
@ -234,7 +272,7 @@ namespace CodeImp.DoomBuilder.Windows
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "AboutForm";
this.Opacity = 1;
this.Opacity = 1D;
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
@ -243,6 +281,9 @@ namespace CodeImp.DoomBuilder.Windows
((System.ComponentModel.ISupportInitialize)(pictureBox3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
this.tabControl1.ResumeLayout(false);
this.tabPage3.ResumeLayout(false);
this.tabPage3.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit();
this.tabPage1.ResumeLayout(false);
this.tabPage1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
@ -262,8 +303,11 @@ namespace CodeImp.DoomBuilder.Windows
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.PictureBox pictureBox4;
private System.Windows.Forms.LinkLabel gzdbLink;
private System.Windows.Forms.Button copyversion;
private System.Windows.Forms.Label version;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.TabPage tabPage3;
private System.Windows.Forms.PictureBox pictureBox5;
private System.Windows.Forms.Label version;
private System.Windows.Forms.Button copyversion;
private System.Windows.Forms.Label label2;
}
}