Ejemplo n.º 1
0
 public DialogResult Run(IModel model)
 {
     this.model = model;
     frame      = new WizardFrame(this);
     frame.ShowDialog();
     return(result);
 }
Ejemplo n.º 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);
        }
Ejemplo n.º 3
0
        private void NavigateToPage(WizardPageFunction wizardPage)
        {
            if (wizardPage == null)
            {
                throw new ArgumentNullException("wizardPage");
            }

            wizardPage.Initialize(m_Project);

            //wizardPage.Return += new ReturnEventHandler<BuildProject>(wizardPage_Return);

            //TEMP: Because PageFunctions are broken
            wizardPage.ReturnTemp += new WizardPageFunction.ReturnEventDelegate(wizardPage_Return);

            WizardFrame.Navigate(wizardPage);
        }