コード例 #1
0
ファイル: GuidesManager.cs プロジェクト: reddyashish/Dynamo
 /// <summary>
 /// This method will launch the tour when the user clicks in the Help->Interactive Guides->Guide
 /// </summary>
 /// <param name="tourName"></param>
 internal void LaunchTour(string tourName)
 {
     if (!tourStarted)
     {
         Initialize();
         GuideFlowEvents.OnGuidedTourStart(tourName);
     }
 }
コード例 #2
0
ファイル: GuidesManager.cs プロジェクト: reddyashish/Dynamo
        private void Popup_StepClosed(string name, Step.StepTypes stepType)
        {
            GuideFlowEvents.OnGuidedTourFinish(currentGuide.Name);

            //The exit tour popup will be shown only when a popup (doesn't apply for survey) is closed or when the tour is closed.
            if (stepType != Step.StepTypes.SURVEY)
            {
                CreateRealTimeInfoWindow(Res.ExitTourWindowContent);
            }
        }