Exemplo n.º 1
0
 private void UpdatePrevNextButton()
 {
     if (mWizard.IsLastPage())
     {
         xNextButton.IsEnabled   = false;
         xFinishButton.IsEnabled = true;
         if (mWizard.DisableBackBtnOnLastPage == true)
         {
             xPrevButton.IsEnabled = false;
             return;
         }
     }
     else
     {
         xNextButton.IsEnabled = true;
     }
     if (mWizard.IsFirstPage())
     {
         xPrevButton.IsEnabled = false;
     }
     else
     {
         xPrevButton.IsEnabled = true;
     }
 }
Exemplo n.º 2
0
        private void UpdatePrevNextButton()
        {
            if (mWizard.IsLastPage())
            {
                NextButton.IsEnabled = false;
            }
            else
            {
                NextButton.IsEnabled = true;
            }

            if (mWizard.IsFirstPage())
            {
                PrevButton.IsEnabled = false;
            }
            else
            {
                PrevButton.IsEnabled = true;
            }
        }