public DialogResult Run(IModel model) { this.model = model; frame = new WizardFrame(this); frame.ShowDialog(); return(result); }
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); }