private void NotifyPageChanged(int previousPageIndex) { if (WizardPageLocationChanged != null) { WizardPageLocationChangedEventArgs e = new WizardPageLocationChangedEventArgs(); e.PageLocation = PageLocation; e.PageIndex = IndexOf(CurrentPage); e.PreviousPageIndex = previousPageIndex; WizardPageLocationChanged(e); } }
void WizardPages_WizardPageLocationChanged(WizardPageLocationChangedEventArgs e) { LoadNextPage(e.PageIndex, e.PreviousPageIndex, true); }