Mercurial > repos > RelicTools > SGAExplorer
view AboutSGAExplorer.cs @ 0:b586cccc3d59 default tip
First commit under GPLv3!
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 06 Oct 2018 20:15:02 +0100 |
parents | |
children |
line wrap: on
line source
// This file is a part of the SGA Explorer app and is copyright 2006-2018 IBBoard. // // The file and the library/program it is in are licensed under the GNU GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; namespace IBBoard.Relic.SGAExplorer { /// <summary> /// Summary description for AboutTextureTool. /// </summary> public class AboutSGAExplorer : System.Windows.Forms.Form { private System.Windows.Forms.Button bttnClose; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.Container components = null; public AboutSGAExplorer() { // // Required for Windows Form Designer support // InitializeComponent(); string version = Application.ProductVersion.Substring(0, Application.ProductVersion.LastIndexOf('.')); if (version.EndsWith(".0")) { version = version.Substring(0, version.Length-2); } label2.Text = "SGA Explorer v"+version; } /// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose( bool disposing ) { if( disposing ) { if(components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.bttnClose = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // bttnClose // this.bttnClose.FlatStyle = System.Windows.Forms.FlatStyle.System; this.bttnClose.Location = new System.Drawing.Point(200, 88); this.bttnClose.Name = "bttnClose"; this.bttnClose.TabIndex = 0; this.bttnClose.Text = "Close"; this.bttnClose.Click += new System.EventHandler(this.bttnClose_Click); // // label1 // this.label1.Location = new System.Drawing.Point(8, 32); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(272, 56); this.label1.TabIndex = 1; this.label1.Text = "Created by IBBoard for Skins @ Hive World Terra (http://skins.hiveworldterra.co." + "uk)\r\n\r\nRelic SGA file format (archive) reader and extractor."; // // label2 // this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label2.Location = new System.Drawing.Point(8, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(264, 23); this.label2.TabIndex = 2; this.label2.Text = "Dawn of War SGA Explorer v1.0"; // // AboutSGAExplorer // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(282, 113); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.bttnClose); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "AboutSGAExplorer"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "About"; this.ResumeLayout(false); } #endregion private void bttnClose_Click(object sender, System.EventArgs e) { this.Close(); } } }