Represents a form containing a wizard control that guides users through a process step by step. This form simply wraps the WizardControl in a form and handles communication with the user.
Inheritance: FormVWG, IWizardForm
Esempio n. 1
0
        private static bool Show(string title, IWizardController wizardController, bool showDialog,
                                 IControlFactory controlFactory)
        {
            WizardFormVWG form = new WizardFormVWG(wizardController, controlFactory);

            form.Text          = title;
            form.StartPosition = FormStartPosition.CenterParent;
            if (showDialog)
            {
                return(form.ShowDialog() == (Gizmox.WebGUI.Forms.DialogResult)Base.DialogResult.OK);
            }
            form.Show();
            return(true);
        }
Esempio n. 2
0
 private static bool Show(string title, IWizardController wizardController, bool showDialog,
                          IControlFactory controlFactory)
 {
     WizardFormVWG form = new WizardFormVWG(wizardController, controlFactory);
     form.Text = title;
     form.StartPosition = FormStartPosition.CenterParent;
     if (showDialog)
     {
         return form.ShowDialog() == (Gizmox.WebGUI.Forms.DialogResult)Base.DialogResult.OK;
     }
     form.Show();
     return true;
 }