public TaskInputEditorForm(InputCollection inputs)
        {
            Text = "Task Inputs";
            InitializeComponent();
            cmboType.DataSource = DataType.AllTypes;
            this.inputs         = inputs ?? new InputCollection();
            foreach (var i in inputs.Where(i => !i.Value.Hidden))
            {
                cmboInputs.Items.Add(i.Key);
            }
            if (Model.Workflow.Variables != null)
            {
                foreach (var variable in Model.Workflow.Variables)
                {
                    cmboVariables.Items.Add(variable);
                }
            }

            ResetInputCombo();
            InputChanged(null, EventArgs.Empty);
        }