|
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace CardfileSerializationDemo
{
/// <summary>
/// Summary description for About.
/// </summary>
public class frmAbout : System.Windows.Forms.Form
{
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Button cmdOK;
private System.Windows.Forms.PictureBox pictureBox1;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public frmAbout()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// 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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmAbout));
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.cmdOK = new System.Windows.Forms.Button();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(66, 23);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(206, 15);
this.label1.TabIndex = 0;
this.label1.Text = "CardfileSerializationDemo, Version 1.0";
//
// label2
//
this.label2.Location = new System.Drawing.Point(66, 45);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(270, 16);
this.label2.TabIndex = 1;
this.label2.Text = "Copyright � 2003, Kenn Scribner";
//
// label3
//
this.label3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.label3.Location = new System.Drawing.Point(7, 68);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(366, 46);
this.label3.TabIndex = 2;
this.label3.Text = "Demonstrates XML Serialization for complex data files and formats. Questions? E-m" +
"ail kenn@endurasoft.com.";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// cmdOK
//
this.cmdOK.Location = new System.Drawing.Point(292, 15);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(69, 22);
this.cmdOK.TabIndex = 3;
this.cmdOK.Text = "&OK";
this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Bitmap)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(15, 23);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(29, 30);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.pictureBox1.TabIndex = 4;
this.pictureBox1.TabStop = false;
//
// frmAbout
//
this.AcceptButton = this.cmdOK;
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(379, 123);
this.Controls.AddRange(new System.Windows.Forms.Control[] {
this.pictureBox1,
this.cmdOK,
this.label3,
this.label2,
this.label1});
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmAbout";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "About CardfileSerializationDemo";
this.ResumeLayout(false);
}
#endregion
private void cmdOK_Click(object sender, System.EventArgs e)
{
// Just close
this.Close();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.