private void tsbPrinter_Click(object sender, EventArgs e)
        {
            var wizard = new PrintPDVWizard();

            wizard.WizardPages.Add(1, new WizardPrinterSetup());

            wizard.WizardCompleted += SetStatusBar;

            wizard.LoadWizard();

            wizard.ShowDialog();
        }
        private void tsbLicense_Click(object sender, EventArgs e)
        {
            var wizard = new PrintPDVWizard();

            wizard.WizardPages.Add(1, new WizardLicenseSetup());

            wizard.WizardCompleted += () => { };

            wizard.LoadWizard();

            wizard.ShowDialog();
        }
        private void Check()
        {
            AddDatabaseStep();

            AddLicenseStep();

            AddPrinterStep();

            if (!WizardSteps.Any())
            {
                return;
            }

            var wizard = new PrintPDVWizard();

            WizardSteps.ToList().ForEach(item => wizard.WizardPages.Add(item.Key, item.Value));

            wizard.WizardCompleted += WizardCompleted;

            wizard.LoadWizard();

            wizard.ShowDialog();
        }