Пример #1
0
 private void WizardControl2SelectedPageChanged(object sender, DevExpress.XtraWizard.WizardPageChangedEventArgs e)
 {
     if (e.PrevPage == null && e.Direction == Direction.Forward)
     {
         if (Page1Activated != null)
         {
             Page1Activated(this, EventArgs.Empty);
         }
     }
     else if (e.PrevPage == page1 && e.Direction == Direction.Forward)
     {
         if (Page2Activated != null)
         {
             Page2Activated(this, EventArgs.Empty);
         }
     }
     else if (e.PrevPage == page2 && e.Direction == Direction.Forward)
     {
         page3LstValidations.Items.Clear();
         if (Page3Activated != null)
         {
             Page3Activated(this, EventArgs.Empty);
         }
     }
     else if (e.PrevPage == page3 && e.Direction == Direction.Forward)
     {
         if (Page4Activated != null)
         {
             Page4Activated(this, EventArgs.Empty);
         }
     }
 }
 private void wizardControl1_SelectedPageChanged(object sender, DevExpress.XtraWizard.WizardPageChangedEventArgs e)
 {
 }