コード例 #1
0
 /// <summary>
 /// This method will be executed for continuing to guide tour
 /// </summary>
 /// <param name="CurrentStepSequence">This parameter will contain the "sequence" of the current Step so we can continue the same step</param>
 internal void ContinueStep(int CurrentStepSequence)
 {
     if (CurrentStepSequence >= 0)
     {
         CalculateStep(GuideFlow.CURRENT, CurrentStepSequence);
         CurrentStep.Show(GuideFlow.FORWARD);
     }
 }
コード例 #2
0
 /// <summary>
 /// This method will be executed for moving to the previous step, basically searches the previous step in the list, shows it and hides the current one.
 /// </summary>
 /// <param name="CurrentStepSequence">This parameter is the "sequence" of the current Step so we can get the previous Step from the list</param>
 internal void PreviousStep(int CurrentStepSequence)
 {
     HideCurrentStep(CurrentStepSequence, GuideFlow.BACKWARD);
     if (CurrentStepSequence > 0)
     {
         CalculateStep(GuideFlow.BACKWARD, CurrentStepSequence);
         CurrentStep.Show(GuideFlow.BACKWARD);
     }
 }
コード例 #3
0
 /// <summary>
 /// This method will be executed for moving to the next step, basically searches the next step in the list, shows it and hides the current one.
 /// </summary>
 /// <param name="CurrentStepSequence">This parameter will contain the "sequence" of the current Step so we can get the next Step from the list</param>
 internal void NextStep(int CurrentStepSequence)
 {
     HideCurrentStep(CurrentStepSequence, GuideFlow.FORWARD);
     if (CurrentStepSequence < TotalSteps)
     {
         CalculateStep(GuideFlow.FORWARD, CurrentStepSequence);
         CurrentStep.Show(GuideFlow.FORWARD);
     }
 }