Click here to Skip to main content
Click here to Skip to main content

TSWizard - a wizard framework for .NET

By , 26 May 2003
 
tswizard11_demo.zip
TSWizardDemo.exe
TSWizards.dll
tswizard11_src.zip
Controls
keyfile.snk
TSWizard.FxCop
TSWizardDemo
App.ico
bin
Debug
Release
customLogo.jpg
customSideBarImage.jpg
customSideBarLogo.jpg
obj
Debug
temp
TempPE
Release
temp
TempPE
wizard.bmp
wizardSide.jpg
wizardSideLogo.jpg
tswizard_demo.zip
TSWizardDemo.exe
TSWizards.dll
tswizard_src.zip
TSWizard
bin
Debug
Release
keyfile.snk
obj
Debug
temp
TempPE
Release
temp
TempPE
Templates
TSWizard.FxCop
TSWizardDemo
App.ico
bin
Debug
Release
obj
Debug
temp
TempPE
Release
temp
TempPE
wizard.bmp
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace TSWizardDemo
{
	/// <summary>
	/// Summary description for Form1.
	/// </summary>
	public class Form1 : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Button runWizard;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public Form1()
		{
			//
			// 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()
		{
			this.runWizard = new System.Windows.Forms.Button();
			this.SuspendLayout();
			// 
			// runWizard
			// 
			this.runWizard.Anchor = System.Windows.Forms.AnchorStyles.None;
			this.runWizard.Location = new System.Drawing.Point(79, 26);
			this.runWizard.Name = "runWizard";
			this.runWizard.TabIndex = 0;
			this.runWizard.Text = "Run Wizard";
			this.runWizard.Click += new System.EventHandler(this.runWizard_Click);
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(232, 75);
			this.Controls.AddRange(new System.Windows.Forms.Control[] {
																		  this.runWizard});
			this.Name = "Form1";
			this.Text = "Form1";
			this.ResumeLayout(false);

		}
		#endregion

		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main() 
		{
			Application.Run(new Form1());
		}

		private void runWizard_Click(object sender, System.EventArgs e)
		{
			DemoWizard wizard = new DemoWizard();

			wizard.ShowDialog();
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of use 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.

License

This article, along with any associated source code and files, is licensed under The BSD License

About the Author

James T. Johnson
Product Manager ComponentOne
United States United States
Member
James has been programming in C/C++ since 1998, and grew fond of databases in 1999. His latest interest has been in C# and .NET where he has been having fun writing code starting when .NET v1.0 was in its first beta.
 
He is currently employed by ComponentOne, a Division of GrapeCity, as a Product Manager for ActiveReports.
 
Code contained in articles where he is the sole author is licensed via the new BSD license.

Permalink | Advertise | Privacy | Mobile
Web04 | 2.6.130523.1 | Last Updated 27 May 2003
Article Copyright 2002 by James T. Johnson
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid