public WizardPageBuilder AddPage(Control target, Action <WizardPageBuilder> page = null)
        {
            var childPageBuilder = new WizardPageBuilder(target);

            if (page != null)
            {
                page(childPageBuilder);
            }

            _page.Pages.Add(childPageBuilder._page);

            return(this);
        }
        public WizardRunner(Control target, Action <WizardPageBuilder> page)
        {
            var pageBuilder = new WizardPageBuilder(target);

            if (page != null)
            {
                page(pageBuilder);
            }

            _rootPage     = pageBuilder.Build();
            _historySteps = new Stack <WizardPage>();

            CurrentPage = _rootPage;
        }