/// <summary> /// Creates a new instance of the connect step. /// </summary> /// <param name="context">Wizard context.</param> public Connect(WizardContext context) { this.ctx = context; _next = false; InitializeComponent(); }
/// <summary> /// Creates a new instance of the entity generator wizard. /// </summary> /// <param name="result">Pre-populated result context object.</param> public Wizard(Context result) { // // Create new wizard context. // context = new WizardContext(result); // // Initialize wizard steps. // steps = new List <Control>() { new Welcome(context), new Connect(context), new ExportLists(context), new Finish(context) }; // // Hook up event handlers for all of the steps. // SetupEvents(); // // Form initialization. // InitializeComponent(); // // Go to the first step. // step = 0; Step(); }
/// <summary> /// Creates a new instance of the list export step. /// </summary> /// <param name="context">Wizard context.</param> public ExportLists(WizardContext context) { this.ctx = context; _next = false; InitializeComponent(); }
/// <summary> /// Creates a new instance of the finish step. /// </summary> /// <param name="context">Wizard context.</param> public Finish(WizardContext context) { this.ctx = context; InitializeComponent(); }
/// <summary> /// Creates a new instance of the welcome step. /// </summary> /// <param name="context">Wizard context.</param> public Welcome(WizardContext context) { this.ctx = context; InitializeComponent(); }