示例#1
0
 private void menuNewYearDistroToolStripMenuItem_Click(object sender, EventArgs e)
 {
     StepDdUpdateGrowthRate step = new StepDdUpdateGrowthRate();
     WizardForm wiz = new WizardForm(step, Translations.UpdateDdForYear);
     wiz.OnFinish = () => { LoadDashboard(new DashboardView()); };
     step.OnSkip = () => { wiz.Close(); };
     wiz.ShowDialog();
 }
示例#2
0
        private void menuDemographyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            StepDemoLevel step = new StepDemoLevel();
            WizardForm wiz = new WizardForm(step, Translations.ImportDemo);
            wiz.OnFinish = () => { LoadDashboard(new DashboardView()); };
            step.OnSkip = () => { wiz.Close(); };
            wiz.ShowDialog();

        }