public void WizardEvent(WizardEventArgs WizardEventArgs)
 {
     switch (WizardEventArgs.EventType)
     {
     case EventType.Init:
         mWizard = (ActionsConversionWizard)WizardEventArgs.Wizard;
         SetGridsView();
         break;
     }
 }
 public void WizardEvent(WizardEventArgs WizardEventArgs)
 {
     switch (WizardEventArgs.EventType)
     {
     case EventType.Init:
         mWizard = (ActionsConversionWizard)WizardEventArgs.Wizard;
         ((WizardWindow)mWizard.mWizardWindow).xFinishButton.IsEnabled = false;
         SetGridsView();
         break;
     }
 }
        /// <summary>
        /// Wizard events
        /// </summary>
        /// <param name="WizardEventArgs"></param>
        public void WizardEvent(WizardEventArgs WizardEventArgs)
        {
            switch (WizardEventArgs.EventType)
            {
            case EventType.Init:
                mWizard = (ActionsConversionWizard)WizardEventArgs.Wizard;
                break;

            case EventType.Active:
                Init(WizardEventArgs);
                break;
            }
        }
示例#4
0
        public void WizardEvent(WizardEventArgs WizardEventArgs)
        {
            switch (WizardEventArgs.EventType)
            {
            case EventType.Init:
                mWizard = (ActionsConversionWizard)WizardEventArgs.Wizard;
                SetGridsView();
                break;

            case EventType.LeavingForNextPage:
                PrepareBFsForConversion();
                break;
            }
        }
        public void WizardEvent(WizardEventArgs WizardEventArgs)
        {
            switch (WizardEventArgs.EventType)
            {
            case EventType.Init:
                mWizard = (ActionsConversionWizard)WizardEventArgs.Wizard;
                break;

            case EventType.Active:
                Init();
                break;

            case EventType.LeavingForNextPage:
                SetSelectedActionsForConversion();
                break;
            }
        }
        public void WizardEvent(WizardEventArgs WizardEventArgs)
        {
            switch (WizardEventArgs.EventType)
            {
            case EventType.Init:
                mWizard = (ActionsConversionWizard)WizardEventArgs.Wizard;
                ((WizardWindow)mWizard.mWizardWindow).xFinishButton.IsEnabled = false;
                SetGridsView();
                break;

            case EventType.LeavingForNextPage:
                if (ListOfBusinessFlow.Where(x => x.IsSelected && x.TotalProcessingActionsCount > 0).ToList().Count == 0)
                {
                    Reporter.ToUser(eUserMsgKey.StaticWarnMessage, string.Format("Please select {0} which contains legacy Actions to convert.", GingerDicser.GetTermResValue(eTermResKey.BusinessFlows)));
                    WizardEventArgs.CancelEvent = true;
                    return;
                }
                else
                {
                    PrepareBFsForConversion();
                }
                break;
            }
        }