Example #1
0
        private void Popup_KeyDown(object sender, KeyEventArgs e)
        {
            switch (e.Key)
            {
            case Key.Left:
                GuideFlowEvents.OnGuidedTourPrev();
                break;

            case Key.Right:
                GuideFlowEvents.OnGuidedTourNext();
                break;
            }
        }
 /// <summary>
 /// Call this method to create a new node in Dynamo canvas.
 /// </summary>
 public void CloseNodeTooltip(bool closeImmediately)
 {
     dynamoWindow.Dispatcher.BeginInvoke(new Action(() =>
     {
         CloseTooltip(closeImmediately);
         //The packages installed are shown at this moment then we need to update the Popup location and the interactions with the Library
         if (GuideFlowEvents.IsAnyGuideActive)
         {
             GuideFlowEvents.OnUpdatePopupLocation();
             GuideFlowEvents.OnUpdateLibraryInteractions();
         }
     }));
 }
Example #3
0
 private void CloseButton_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     IsOpen = false;
     if (popupViewModel.Step.GuideName.ToLower() == packagesTourName)
     {
         GuideFlowEvents.OnGuidedTourFinish(popupViewModel.Step.GuideName);
     }
     else
     {
         isClosingTour = true;
         popupViewModel.Step.OnStepClosed(popupViewModel.Step.Name, popupViewModel.Step.StepType);
     }
 }
Example #4
0
 private void BackButton_Click(object sender, RoutedEventArgs e)
 {
     GuideFlowEvents.OnGuidedTourPrev();
 }
Example #5
0
 private void NextButton_Click(object sender, RoutedEventArgs e)
 {
     GuideFlowEvents.OnGuidedTourNext();
 }
Example #6
0
 private void StartTourButton_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     GuideFlowEvents.OnGuidedTourNext();
 }
Example #7
0
 private void StartTourButton_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     GuideFlowEvents.OnGuidedTourNext(popupViewModel.Step.Sequence);
 }
Example #8
0
 private void BackButton_Click(object sender, RoutedEventArgs e)
 {
     GuideFlowEvents.OnGuidedTourPrev(popupViewModel.Step.Sequence);
 }
 //This method will be called when the Library was resized and the current Popup location needs to be updated
 internal void UpdatePopupLocation()
 {
     GuideFlowEvents.OnUpdatePopupLocation();
 }
 /// <summary>
 /// This method will execute the action of moving the Guide to the next Step (it is triggered when a specific html div that contains the package is clicked).
 /// </summary>
 internal void MoveToNextStep()
 {
     GuideFlowEvents.OnGuidedTourNext();
 }