public InputVariables(PowerShellEvent theEvent) : base(theEvent) { TitleBarContent = "Input variables"; InfoBarContent = "Define input variables to use in your powershell script."; VariableIsInputVariable = true; }
private void InitializeWizard(SourceCode.Framework.WizardInitializeArgs e) { PowerShellEvent eventObj = null; switch (base.Status) { case WizardStatus.New: case WizardStatus.NewDelayed: eventObj = new PowerShellEvent(); eventObj.WizardDefinition = base.Definition; SourceCode.Workflow.Wizards.WizardHelper.GetEventActivity(e.Parent).Events.Insert(e.InsertIndex, eventObj); if (base.Status == WizardStatus.NewDelayed) { return; } break; case WizardStatus.Executed: case WizardStatus.Delayed: if (e.Parent is PowerShellEvent) { eventObj = (PowerShellEvent)e.Parent; } break; } base.Pages.Add(new Pages.Start()); base.Pages.Add(new Pages.InputVariables(eventObj)); base.Pages.Add(new Pages.PowerShellScript(eventObj)); base.Pages.Add(new Pages.OutputVariables(eventObj)); base.Pages.Add(new Pages.Finish()); }
public Variables(PowerShellEvent theEvent) : base(theEvent) { InitializeComponent(); _variables = theEvent.EventItem.OutputVariables; InitializeListView(); SetRibbonButton(); }
public override void Initialize(WizardInitializeArgs e) { base.Initialize(e); _PowerShellEvent = (PowerShellEvent)e.Parent; base.Pages.Add(new Pages.InputVariables(_PowerShellEvent)); base.Pages.Add(new Pages.PowerShellScript(_PowerShellEvent)); base.Pages.Add(new Pages.OutputVariables(_PowerShellEvent)); }
public OutputVariables(PowerShellEvent theEvent) : base(theEvent) { TitleBarContent = "Output variables"; InfoBarContent = "Define output variables to get values from your powershell script into K2 files."; VariableIsInputVariable = false; }
public PowerShellScript(PowerShellEvent theEvent) : base(theEvent) { InitializeComponent(); }