private void NotifyPageChanged(int previousPageIndex) { if (WizardPageLocationChanged != null) { if (previousPageIndex == CurrentPageIndex) { return; } 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); }
protected virtual void OnWizardPageLocationChanged(WizardPageLocationChangedEventArgs e) { LoadNextPageByNavButton(e.PageIndex, e.PreviousPageIndex, true); }