Beispiel #1
0
 private void App_AutomateBusinessFlowEvent(AutomateEventArgs args)
 {
     if (args.EventType == AutomateEventArgs.eEventType.Automate)
     {
         ShiftToAutoMateView();
     }
 }
Beispiel #2
0
 private void App_AutomateBusinessFlowEvent(AutomateEventArgs args)
 {
     if (args.EventType == AutomateEventArgs.eEventType.Automate)
     {
         try
         {
             Mouse.OverrideCursor = System.Windows.Input.Cursors.Wait;
             Reporter.ToStatus(eStatusMsgKey.StaticStatusProcess, null, "Loading Automate Page...");
             if (mNewAutomatePage == null)
             {
                 mNewAutomatePage = new NewAutomatePage((BusinessFlow)args.Object);
             }
             xContentFrame.Content = mNewAutomatePage;
         }
         finally
         {
             Mouse.OverrideCursor = null;
             Reporter.HideStatusMessage();
         }
     }
     else if (args.EventType == AutomateEventArgs.eEventType.ShowBusinessFlowsList)
     {
         ShiftToBusinessFlowView((BusinessFlow)args.Object);
     }
 }
Beispiel #3
0
 private void App_AutomateBusinessFlowEvent(AutomateEventArgs args)
 {
     if (args.EventType == AutomateEventArgs.eEventType.Automate)
     {
         if (WorkSpace.Instance.BetaFeatures.ShowNewautomate)
         {
             if (mNewAutomatePage == null)
             {
                 mNewAutomatePage = new NewAutomatePage((BusinessFlow)args.Object);
             }
             xContentFrame.Content = mNewAutomatePage;
         }
         else
         {
             if (mAutomatePage == null)
             {
                 mAutomatePage = new AutomatePage((BusinessFlow)args.Object);
             }
             xContentFrame.Content = mAutomatePage;
         }
     }
     else if (args.EventType == AutomateEventArgs.eEventType.ShowBusinessFlowsList)
     {
         ShiftToBusinessFlowView((BusinessFlow)args.Object);
     }
 }