コード例 #1
0
        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);
            }
        }
コード例 #2
0
ファイル: WizardHostForm.cs プロジェクト: yxw027/GNSSer
 void WizardPages_WizardPageLocationChanged(WizardPageLocationChangedEventArgs e)
 {
     LoadNextPage(e.PageIndex, e.PreviousPageIndex, true);
 }
コード例 #3
0
ファイル: WizardForm.cs プロジェクト: yxw027/GNSSer
 protected virtual void OnWizardPageLocationChanged(WizardPageLocationChangedEventArgs e)
 {
     LoadNextPageByNavButton(e.PageIndex, e.PreviousPageIndex, true);
 }