Example #1
0
 public DialogResult Run(IModel model)
 {
     this.model = model;
     frame      = new WizardFrame(this);
     frame.ShowDialog();
     return(result);
 }
Example #2
0
        public virtual System.Windows.Forms.DialogResult Run(IModel model)
        {
            this.model = model;
            frame      = new WizardFrame(this);
            if (frameSize.Height > 0 && frameSize.Width > 0)
            {
                frame.Size = frameSize;
            }
            int step = state + 1;

            frame.Text = title + " Step " + step.ToString();
            frame.ShowDialog();
            return(result);
        }