/******************************************************************************* * * Space Trader for Windows 2.00 * * Copyright (C) 2005 Jay French, All Rights Reserved * * Additional coding by David Pierron * Original coding by Pieter Spronck, Sam Anderson, Samuel Goldstein, Matt Lee * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) any * later version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * If you'd like a copy of the GNU General Public License, go to * http://www.gnu.org/copyleft/gpl.html. * * You can contact the author at spacetrader@frenchfryz.com * ******************************************************************************/ using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; namespace Fryz.Apps.SpaceTrader { public class FormAbout : System.Windows.Forms.Form { #region Control Declarations private System.Windows.Forms.Button btnClose; private System.Windows.Forms.Label lblTitle; private System.Windows.Forms.Label lblAbout; private System.Windows.Forms.PictureBox picLogo; private System.ComponentModel.Container components = null; #endregion #region Methods public FormAbout() { InitializeComponent(); } /// /// Clean up any resources being used. /// protected override void Dispose(bool disposing) { if (disposing && components != null) components.Dispose(); base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormAbout)); this.btnClose = new System.Windows.Forms.Button(); this.lblTitle = new System.Windows.Forms.Label(); this.lblAbout = new System.Windows.Forms.Label(); this.picLogo = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.picLogo)).BeginInit(); this.SuspendLayout(); // // btnClose // this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.Location = new System.Drawing.Point(-32, -32); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(32, 32); this.btnClose.TabIndex = 32; this.btnClose.TabStop = false; this.btnClose.Text = "X"; // // lblTitle // this.lblTitle.AutoSize = true; this.lblTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTitle.Location = new System.Drawing.Point(172, 8); this.lblTitle.Name = "lblTitle"; this.lblTitle.Size = new System.Drawing.Size(187, 13); this.lblTitle.TabIndex = 33; this.lblTitle.Text = "Space Trader for Windows 2.01"; // // lblAbout // this.lblAbout.Location = new System.Drawing.Point(172, 32); this.lblAbout.Name = "lblAbout"; this.lblAbout.Size = new System.Drawing.Size(272, 160); this.lblAbout.TabIndex = 34; this.lblAbout.Text = resources.GetString("lblAbout.Text"); // // picLogo // this.picLogo.Image = ((System.Drawing.Image)(resources.GetObject("picLogo.Image"))); this.picLogo.Location = new System.Drawing.Point(8, 8); this.picLogo.Name = "picLogo"; this.picLogo.Size = new System.Drawing.Size(160, 160); this.picLogo.TabIndex = 35; this.picLogo.TabStop = false; // // FormAbout // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(446, 191); this.Controls.Add(this.picLogo); this.Controls.Add(this.lblAbout); this.Controls.Add(this.lblTitle); this.Controls.Add(this.btnClose); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormAbout"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "About Space Trader"; ((System.ComponentModel.ISupportInitialize)(this.picLogo)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); } #endregion #endregion } }