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