185 lines
7.3 KiB
C#
185 lines
7.3 KiB
C#
using System;
|
|
using System.Drawing;
|
|
using System.Collections;
|
|
using System.ComponentModel;
|
|
using System.Windows.Forms;
|
|
|
|
namespace ROEditor
|
|
{
|
|
/// <summary>
|
|
/// Summary description for About.
|
|
/// </summary>
|
|
public class AboutDlg : System.Windows.Forms.Form
|
|
{
|
|
private System.Windows.Forms.Button btnHlpAbtOK;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label CopyrightMessage;
|
|
private System.Windows.Forms.PictureBox pictureBox1;
|
|
private System.Windows.Forms.PictureBox pictureBox2;
|
|
private System.Windows.Forms.LinkLabel VolianWebLink;
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.Container components = null;
|
|
|
|
public AboutDlg()
|
|
{
|
|
//
|
|
// Required for Windows Form Designer support
|
|
//
|
|
InitializeComponent();
|
|
CopyrightMessage.Text = "Copyright \x00A9 1993 - 2008. All Rights Reserved.";
|
|
|
|
//
|
|
// TODO: Add any constructor code after InitializeComponent call
|
|
//
|
|
}
|
|
|
|
/// <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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutDlg));
|
|
this.btnHlpAbtOK = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.CopyrightMessage = new System.Windows.Forms.Label();
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
|
this.VolianWebLink = new System.Windows.Forms.LinkLabel();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// btnHlpAbtOK
|
|
//
|
|
this.btnHlpAbtOK.BackColor = System.Drawing.Color.YellowGreen;
|
|
this.btnHlpAbtOK.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnHlpAbtOK.Location = new System.Drawing.Point(120, 118);
|
|
this.btnHlpAbtOK.Name = "btnHlpAbtOK";
|
|
this.btnHlpAbtOK.Size = new System.Drawing.Size(75, 28);
|
|
this.btnHlpAbtOK.TabIndex = 0;
|
|
this.btnHlpAbtOK.Text = "OK";
|
|
this.btnHlpAbtOK.UseVisualStyleBackColor = false;
|
|
this.btnHlpAbtOK.Click += new System.EventHandler(this.btnHlpAbtOK_Click);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.BackColor = System.Drawing.Color.Transparent;
|
|
this.label1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label1.Location = new System.Drawing.Point(73, 28);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(216, 14);
|
|
this.label1.TabIndex = 1;
|
|
this.label1.Text = "Referenced Object Editor";
|
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.BackColor = System.Drawing.Color.Transparent;
|
|
this.label2.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label2.Location = new System.Drawing.Point(60, 69);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(216, 23);
|
|
this.label2.TabIndex = 2;
|
|
this.label2.Text = "Version 4 Release 0";
|
|
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// CopyrightMessage
|
|
//
|
|
this.CopyrightMessage.BackColor = System.Drawing.Color.Transparent;
|
|
this.CopyrightMessage.Font = new System.Drawing.Font("Arial", 6F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.CopyrightMessage.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.CopyrightMessage.Location = new System.Drawing.Point(0, 159);
|
|
this.CopyrightMessage.Name = "CopyrightMessage";
|
|
this.CopyrightMessage.Size = new System.Drawing.Size(207, 14);
|
|
this.CopyrightMessage.TabIndex = 4;
|
|
this.CopyrightMessage.Text = "Copyright C 1993 - 2007. All Rights Reserved.";
|
|
this.CopyrightMessage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// pictureBox1
|
|
//
|
|
this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
|
|
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
|
|
this.pictureBox1.Location = new System.Drawing.Point(24, 24);
|
|
this.pictureBox1.Name = "pictureBox1";
|
|
this.pictureBox1.Size = new System.Drawing.Size(32, 32);
|
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
|
this.pictureBox1.TabIndex = 5;
|
|
this.pictureBox1.TabStop = false;
|
|
//
|
|
// pictureBox2
|
|
//
|
|
this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
|
|
this.pictureBox2.Location = new System.Drawing.Point(227, 104);
|
|
this.pictureBox2.Name = "pictureBox2";
|
|
this.pictureBox2.Size = new System.Drawing.Size(70, 32);
|
|
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
|
this.pictureBox2.TabIndex = 7;
|
|
this.pictureBox2.TabStop = false;
|
|
this.pictureBox2.Visible = false;
|
|
//
|
|
// VolianWebLink
|
|
//
|
|
this.VolianWebLink.BackColor = System.Drawing.SystemColors.GrayText;
|
|
this.VolianWebLink.Font = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.VolianWebLink.Location = new System.Drawing.Point(207, 159);
|
|
this.VolianWebLink.Name = "VolianWebLink";
|
|
this.VolianWebLink.Size = new System.Drawing.Size(93, 14);
|
|
this.VolianWebLink.TabIndex = 10;
|
|
this.VolianWebLink.TabStop = true;
|
|
this.VolianWebLink.Text = "Volian Enterprises Inc.";
|
|
this.VolianWebLink.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// AboutDlg
|
|
//
|
|
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
|
|
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
|
|
this.ClientSize = new System.Drawing.Size(363, 204);
|
|
this.Controls.Add(this.VolianWebLink);
|
|
this.Controls.Add(this.pictureBox2);
|
|
this.Controls.Add(this.pictureBox1);
|
|
this.Controls.Add(this.CopyrightMessage);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.btnHlpAbtOK);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Name = "AboutDlg";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "About";
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
#endregion
|
|
|
|
private void btnHlpAbtOK_Click(object sender, System.EventArgs e)
|
|
{
|
|
this.Close();
|
|
}
|
|
|
|
}
|
|
}
|