269 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			269 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| /*********************************************************************************************
 | |
|  * Copyright 2004 - Volian Enterprises, Inc. All rights reserved.
 | |
|  * Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
 | |
|  * ------------------------------------------------------------------------------
 | |
|  * $Workfile: About.cs $     $Revision: 5 $
 | |
|  * $Author: Jsj $   $Date: 1/02/08 1:38p $
 | |
|  *
 | |
|  * $History: About.cs $
 | |
|  * 
 | |
|  * *****************  Version 5  *****************
 | |
|  * User: Jsj          Date: 1/02/08    Time: 1:38p
 | |
|  * Updated in $/LibSource/Utils
 | |
|  * upped copyright to 2008
 | |
|  * 
 | |
|  * *****************  Version 4  *****************
 | |
|  * User: Jsj          Date: 1/02/07    Time: 1:53p
 | |
|  * Updated in $/LibSource/Utils
 | |
|  * uppped copyright to 2007
 | |
|  * 
 | |
|  * *****************  Version 3  *****************
 | |
|  * User: Jsj          Date: 7/18/06    Time: 11:40a
 | |
|  * Updated in $/LibSource/Utils
 | |
|  * turned off Microsoft Solution Provider logo.
 | |
|  * 
 | |
|  * *****************  Version 2  *****************
 | |
|  * User: Jsj          Date: 1/03/06    Time: 9:08a
 | |
|  * Updated in $/LibSource/Utils
 | |
|  * upped copyright to year 2005
 | |
|  * 
 | |
|  * *****************  Version 1  *****************
 | |
|  * User: Kathy        Date: 7/27/04    Time: 8:34a
 | |
|  * Created in $/LibSource/Utils
 | |
|  *********************************************************************************************/
 | |
| 
 | |
| using System;
 | |
| using System.Drawing;
 | |
| using System.Collections;
 | |
| using System.ComponentModel;
 | |
| using System.Windows.Forms;
 | |
| 
 | |
| namespace Utils
 | |
| {
 | |
| 	/// <summary>
 | |
| 	/// Summary description for About.
 | |
| 	/// </summary>
 | |
| 	public class AboutDlg : System.Windows.Forms.Form
 | |
| 	{
 | |
| 		private System.Windows.Forms.Button btnHlpAbtOK;
 | |
| 		private System.Windows.Forms.Label CopyrightMessage;
 | |
| 		private System.Windows.Forms.PictureBox pictureBox2;
 | |
| 		private System.Windows.Forms.Label lblProgName;
 | |
| 		private System.Windows.Forms.Label lblVerRelNums;
 | |
| 		private System.Windows.Forms.Label lblSerialNumber;
 | |
| 		private System.Windows.Forms.Label lblSerialNumTitle;
 | |
| 		private System.Windows.Forms.Label lblUserID;
 | |
| 		private System.Windows.Forms.LinkLabel VolianWebLink;
 | |
| 		private System.Windows.Forms.Label lblLicenseTab;
 | |
| 		/// <summary>
 | |
| 		/// Required designer variable.
 | |
| 		/// </summary>
 | |
| 		private System.ComponentModel.Container components = null;
 | |
| 
 | |
| 		public AboutDlg(string ProgName, string SerialNoStr, string SnTitleTab, string SerialNoTitle, string VerRel, string cpyrght, string UIDstr)
 | |
| 		{
 | |
| 			//
 | |
| 			// Required for Windows Form Designer support
 | |
| 			//
 | |
| 			InitializeComponent();
 | |
| 			CopyrightMessage.Text = cpyrght;
 | |
| 			this.lblProgName.Text = ProgName;
 | |
| 			lblVerRelNums.Text = VerRel;
 | |
| 			lblSerialNumber.Text = SerialNoStr;
 | |
| 			lblSerialNumTitle.Text = SerialNoTitle;
 | |
| 			lblUserID.Text = UIDstr;
 | |
| 			lblLicenseTab.Text = SnTitleTab;
 | |
| 		}
 | |
| 
 | |
| 		/// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(AboutDlg));
 | |
| 			this.btnHlpAbtOK = new System.Windows.Forms.Button();
 | |
| 			this.lblProgName = new System.Windows.Forms.Label();
 | |
| 			this.lblVerRelNums = new System.Windows.Forms.Label();
 | |
| 			this.lblSerialNumber = new System.Windows.Forms.Label();
 | |
| 			this.CopyrightMessage = new System.Windows.Forms.Label();
 | |
| 			this.lblUserID = new System.Windows.Forms.Label();
 | |
| 			this.pictureBox2 = new System.Windows.Forms.PictureBox();
 | |
| 			this.lblSerialNumTitle = new System.Windows.Forms.Label();
 | |
| 			this.VolianWebLink = new System.Windows.Forms.LinkLabel();
 | |
| 			this.lblLicenseTab = new System.Windows.Forms.Label();
 | |
| 			this.SuspendLayout();
 | |
| 			// 
 | |
| 			// btnHlpAbtOK
 | |
| 			// 
 | |
| 			this.btnHlpAbtOK.BackColor = System.Drawing.Color.YellowGreen;
 | |
| 			this.btnHlpAbtOK.Font = new System.Drawing.Font("Tahoma", 10.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
 | |
| 			this.btnHlpAbtOK.Location = new System.Drawing.Point(144, 160);
 | |
| 			this.btnHlpAbtOK.Name = "btnHlpAbtOK";
 | |
| 			this.btnHlpAbtOK.Size = new System.Drawing.Size(96, 32);
 | |
| 			this.btnHlpAbtOK.TabIndex = 0;
 | |
| 			this.btnHlpAbtOK.Text = "OK";
 | |
| 			this.btnHlpAbtOK.Click += new System.EventHandler(this.btnHlpAbtOK_Click);
 | |
| 			// 
 | |
| 			// lblProgName
 | |
| 			// 
 | |
| 			this.lblProgName.BackColor = System.Drawing.Color.Transparent;
 | |
| 			this.lblProgName.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
 | |
| 			this.lblProgName.Location = new System.Drawing.Point(8, 8);
 | |
| 			this.lblProgName.Name = "lblProgName";
 | |
| 			this.lblProgName.Size = new System.Drawing.Size(360, 19);
 | |
| 			this.lblProgName.TabIndex = 1;
 | |
| 			this.lblProgName.Text = "Program Name";
 | |
| 			this.lblProgName.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
 | |
| 			// 
 | |
| 			// lblVerRelNums
 | |
| 			// 
 | |
| 			this.lblVerRelNums.BackColor = System.Drawing.Color.Transparent;
 | |
| 			this.lblVerRelNums.Font = new System.Drawing.Font("Arial", 10.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
 | |
| 			this.lblVerRelNums.Location = new System.Drawing.Point(8, 40);
 | |
| 			this.lblVerRelNums.Name = "lblVerRelNums";
 | |
| 			this.lblVerRelNums.Size = new System.Drawing.Size(352, 24);
 | |
| 			this.lblVerRelNums.TabIndex = 2;
 | |
| 			this.lblVerRelNums.Text = "Version 0 Release 0";
 | |
| 			this.lblVerRelNums.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
 | |
| 			// 
 | |
| 			// lblSerialNumber
 | |
| 			// 
 | |
| 			this.lblSerialNumber.BackColor = System.Drawing.Color.Transparent;
 | |
| 			this.lblSerialNumber.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
 | |
| 			this.lblSerialNumber.Location = new System.Drawing.Point(8, 72);
 | |
| 			this.lblSerialNumber.Name = "lblSerialNumber";
 | |
| 			this.lblSerialNumber.Size = new System.Drawing.Size(360, 16);
 | |
| 			this.lblSerialNumber.TabIndex = 3;
 | |
| 			this.lblSerialNumber.Text = "Serial Number: xx";
 | |
| 			this.lblSerialNumber.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, ((System.Byte)(0)));
 | |
| 			this.CopyrightMessage.Location = new System.Drawing.Point(8, 192);
 | |
| 			this.CopyrightMessage.Name = "CopyrightMessage";
 | |
| 			this.CopyrightMessage.Size = new System.Drawing.Size(232, 16);
 | |
| 			this.CopyrightMessage.TabIndex = 4;
 | |
| 			this.CopyrightMessage.Text = " Copyright C 1988 - 2008  All Rights Reserved";
 | |
| 			this.CopyrightMessage.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
 | |
| 			// 
 | |
| 			// lblUserID
 | |
| 			// 
 | |
| 			this.lblUserID.BackColor = System.Drawing.Color.Transparent;
 | |
| 			this.lblUserID.Font = new System.Drawing.Font("Arial", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
 | |
| 			this.lblUserID.Location = new System.Drawing.Point(8, 136);
 | |
| 			this.lblUserID.Name = "lblUserID";
 | |
| 			this.lblUserID.Size = new System.Drawing.Size(360, 16);
 | |
| 			this.lblUserID.TabIndex = 6;
 | |
| 			this.lblUserID.Text = "User ID: xxxxx";
 | |
| 			this.lblUserID.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
 | |
| 			// 
 | |
| 			// pictureBox2
 | |
| 			// 
 | |
| 			this.pictureBox2.Enabled = false;
 | |
| 			this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
 | |
| 			this.pictureBox2.Location = new System.Drawing.Point(272, 160);
 | |
| 			this.pictureBox2.Name = "pictureBox2";
 | |
| 			this.pictureBox2.Size = new System.Drawing.Size(69, 32);
 | |
| 			this.pictureBox2.TabIndex = 7;
 | |
| 			this.pictureBox2.TabStop = false;
 | |
| 			this.pictureBox2.Visible = false;
 | |
| 			// 
 | |
| 			// lblSerialNumTitle
 | |
| 			// 
 | |
| 			this.lblSerialNumTitle.BackColor = System.Drawing.Color.Transparent;
 | |
| 			this.lblSerialNumTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
 | |
| 			this.lblSerialNumTitle.Location = new System.Drawing.Point(112, 96);
 | |
| 			this.lblSerialNumTitle.Name = "lblSerialNumTitle";
 | |
| 			this.lblSerialNumTitle.Size = new System.Drawing.Size(256, 32);
 | |
| 			this.lblSerialNumTitle.TabIndex = 8;
 | |
| 			this.lblSerialNumTitle.Text = "Serial Number Title";
 | |
| 			// 
 | |
| 			// VolianWebLink
 | |
| 			// 
 | |
| 			this.VolianWebLink.Location = new System.Drawing.Point(248, 192);
 | |
| 			this.VolianWebLink.Name = "VolianWebLink";
 | |
| 			this.VolianWebLink.Size = new System.Drawing.Size(112, 16);
 | |
| 			this.VolianWebLink.TabIndex = 9;
 | |
| 			this.VolianWebLink.TabStop = true;
 | |
| 			this.VolianWebLink.Text = "Volian Enterprises Inc.";
 | |
| 			this.VolianWebLink.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
 | |
| 			this.VolianWebLink.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
 | |
| 			// 
 | |
| 			// lblLicenseTab
 | |
| 			// 
 | |
| 			this.lblLicenseTab.BackColor = System.Drawing.Color.Transparent;
 | |
| 			this.lblLicenseTab.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
 | |
| 			this.lblLicenseTab.Location = new System.Drawing.Point(8, 96);
 | |
| 			this.lblLicenseTab.Name = "lblLicenseTab";
 | |
| 			this.lblLicenseTab.Size = new System.Drawing.Size(104, 24);
 | |
| 			this.lblLicenseTab.TabIndex = 10;
 | |
| 			this.lblLicenseTab.Text = "Licenced To:";
 | |
| 			// 
 | |
| 			// AboutDlg
 | |
| 			// 
 | |
| 			this.AutoScaleBaseSize = new System.Drawing.Size(5, 12);
 | |
| 			this.BackColor = System.Drawing.SystemColors.GrayText;
 | |
| 			this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
 | |
| 			this.ClientSize = new System.Drawing.Size(370, 209);
 | |
| 			this.Controls.Add(this.lblLicenseTab);
 | |
| 			this.Controls.Add(this.VolianWebLink);
 | |
| 			this.Controls.Add(this.lblSerialNumTitle);
 | |
| 			this.Controls.Add(this.pictureBox2);
 | |
| 			this.Controls.Add(this.lblUserID);
 | |
| 			this.Controls.Add(this.CopyrightMessage);
 | |
| 			this.Controls.Add(this.lblSerialNumber);
 | |
| 			this.Controls.Add(this.lblVerRelNums);
 | |
| 			this.Controls.Add(this.lblProgName);
 | |
| 			this.Controls.Add(this.btnHlpAbtOK);
 | |
| 			this.Font = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
 | |
| 			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
 | |
| 			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
 | |
| 			this.MaximizeBox = false;
 | |
| 			this.MinimizeBox = false;
 | |
| 			this.Name = "AboutDlg";
 | |
| 			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
 | |
| 			this.Text = "About";
 | |
| 			this.Load += new System.EventHandler(this.AboutDlg_Load);
 | |
| 			this.ResumeLayout(false);
 | |
| 
 | |
| 		}
 | |
| 		#endregion
 | |
| 
 | |
| 		private void btnHlpAbtOK_Click(object sender, System.EventArgs e)
 | |
| 		{
 | |
| 			this.Close();
 | |
| 		}
 | |
| 
 | |
| 		private void linkLabel1_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
 | |
| 		{
 | |
| 			System.Diagnostics.Process.Start("www.volian.com");
 | |
| 		}
 | |
| 
 | |
| 		private void AboutDlg_Load(object sender, System.EventArgs e)
 | |
| 		{
 | |
| 		
 | |
| 		}
 | |
| 
 | |
| 
 | |
| 	}
 | |
| }
 |