private void btnBack_Click(object sender, EventArgs e) { WizardPage.PageTransitionEventArgs args = new WizardPage.PageTransitionEventArgs(); currentPage.OnPageBack(args); if (args.Page != null) { ActivatePage(args.Page); } }
private void btnNext_Click(object sender, EventArgs e) { // the "Next" button has been pressed, activate the next page WizardPage.PageTransitionEventArgs args = new WizardPage.PageTransitionEventArgs(); currentPage.OnPageNext(args); if (args.Page != null) { ActivatePage(args.Page); } }
private void btnBack_Click(object sender, EventArgs e) { WizardPage.PageTransitionEventArgs args = new WizardPage.PageTransitionEventArgs(); currentPage.OnPageBack(args); if (args.Page != null) { ActivatePage(args.Page); } }
private void btnNext_Click(object sender, EventArgs e) { // the "Next" button has been pressed, activate the next page WizardPage.PageTransitionEventArgs args = new WizardPage.PageTransitionEventArgs(); currentPage.OnPageNext(args); if (args.Page != null) { ActivatePage(args.Page); } }