Создание Windows-приложений на основе Visual C#


           

Required for Windows Form Designer


using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms;
namespace MailApplication { /// <summary> /// Summary description for CreateUserWizard. /// </summary> public class CreateUserWizard : System.Windows.Forms.Form { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.Container components = null;
public CreateUserWizard() { // // 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(CreateUserWizard)); // // CreateUserWizard // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(392, 266); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.Name = "CreateUserWizard"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Создание новый учетной записи"; this.Load += new System.EventHandler(this.CreateUserWizard_Load);
} #endregion
private void CreateUserWizard_Load(object sender, System.EventArgs e) { UserIdentity identity = new UserIdentity(); CUWStep1 step1 = new CUWStep1(identity); step1.MdiParent = this; step1.Show(); } } }
Листинг 3.18.
Закрыть окно
Содержание  Назад  Вперед