private void OnAddFinalClick( object sender, EventArgs e )
        {
            WizardForm ctrl = ( WizardForm )Control;
              WizardFinalPage page = new WizardFinalPage();
              ctrl.Pages.Add( page );

              IDesignerHost host = (IDesignerHost)GetService( typeof( IDesignerHost ) );
              if( host != null ) host.Container.Add( page );
        }
Exemple #2
0
        private void OnAddFinalClick(object sender, EventArgs e)
        {
            WizardForm      ctrl = ( WizardForm )Control;
            WizardFinalPage page = new WizardFinalPage();

            ctrl.Pages.Add(page);

            IDesignerHost host = (IDesignerHost)GetService(typeof(IDesignerHost));

            if (host != null)
            {
                host.Container.Add(page);
            }
        }