using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace m
{
///
/// Summary description for AboutForm.
///
public class AboutForm : System.Windows.Forms.Form
{
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.LinkLabel linkLabel1;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Button button1;
///
/// Required designer variable.
///
private System.ComponentModel.Container components = null;
public AboutForm()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
#if false
System.Reflection.Assembly ass = typeof(GobImage).Module.Assembly;
Stream stm = ass.GetManifestResourceStream("m.EmbeddedResources.about.jpg");
pictureBox1.Image = new Bitmap(stm);
#endif
}
///
/// Clean up any resources being used.
///
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(AboutForm));
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(8, 8);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(324, 327);
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// label1
//
this.label1.Location = new System.Drawing.Point(352, 32);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(352, 16);
this.label1.TabIndex = 1;
this.label1.Text = "Mission Editor for Hostile Takeover";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.Location = new System.Drawing.Point(352, 80);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(352, 16);
this.label2.TabIndex = 2;
this.label2.Text = "Copyright 2003, 2004 Spiffcode, Inc.";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label3
//
this.label3.Location = new System.Drawing.Point(472, 56);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(48, 17);
this.label3.TabIndex = 3;
this.label3.Text = "Version:";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label4
//
this.label4.Location = new System.Drawing.Point(528, 58);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(100, 14);
this.label4.TabIndex = 4;
this.label4.Text = "1.0a-beta1";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// linkLabel1
//
this.linkLabel1.Location = new System.Drawing.Point(352, 149);
this.linkLabel1.Name = "linkLabel1";
this.linkLabel1.Size = new System.Drawing.Size(352, 23);
this.linkLabel1.TabIndex = 5;
this.linkLabel1.TabStop = true;
this.linkLabel1.Text = "REPLACE ME: MAIN SITE FORUM URL";
this.linkLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
//
// label5
//
this.label5.Location = new System.Drawing.Point(352, 120);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(352, 23);
this.label5.TabIndex = 6;
this.label5.Text = "See the mission editting forums at:";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label6
//
this.label6.Location = new System.Drawing.Point(352, 208);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(352, 32);
this.label6.TabIndex = 7;
this.label6.Text = "Hostile Takeover is a registered trademark of Spiffcode, Inc. All rights rese" +
"rved.";
//
// button1
//
this.button1.DialogResult = System.Windows.Forms.DialogResult.OK;
this.button1.Location = new System.Drawing.Point(624, 304);
this.button1.Name = "button1";
this.button1.TabIndex = 8;
this.button1.Text = "Ok";
//
// AboutForm
//
this.AcceptButton = this.button1;
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(237)), ((System.Byte)(235)), ((System.Byte)(222)));
this.ClientSize = new System.Drawing.Size(728, 342);
this.Controls.Add(this.button1);
this.Controls.Add(this.label6);
this.Controls.Add(this.label5);
this.Controls.Add(this.linkLabel1);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.pictureBox1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "AboutForm";
this.ShowInTaskbar = false;
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.Text = "About";
this.ResumeLayout(false);
}
#endregion
private void linkLabel1_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e) {
LinkLabel link = (LinkLabel)sender;
System.Diagnostics.Process.Start(link.Text);
}
}
}