/// <summary> /// Invoke an editor tool for managing custom step arguments. This is /// an optional feature of the custom step and may not be implemented. /// </summary> /// <param name="hWndParent">Handle to the parent application window</param> /// <param name="argsIn">Array of arguments already configured for this custom step</param> /// <returns>Returns a list of newely configured arguments as specified via the editor tool</returns> public object[] InvokeEditor(int hWndParent, object[] argsIn) { JTXSamples.CreateChildJobsArgEditor editorForm = new JTXSamples.CreateChildJobsArgEditor(m_ipDatabase, m_ExpectedArgs); object[] newArgs = null; return((editorForm.ShowDialog(argsIn, out newArgs) == DialogResult.OK) ? newArgs : argsIn); }
/// <summary> /// Invoke an editor tool for managing custom step arguments. This is /// an optional feature of the custom step and may not be implemented. /// </summary> /// <param name="hWndParent">Handle to the parent application window</param> /// <param name="argsIn">Array of arguments already configured for this custom step</param> /// <returns>Returns a list of newely configured arguments as specified via the editor tool</returns> public object[] InvokeEditor(int hWndParent, object[] argsIn) { JTXSamples.CreateChildJobsArgEditor editorForm = new JTXSamples.CreateChildJobsArgEditor(m_ipDatabase, m_ExpectedArgs); object[] newArgs = null; return (editorForm.ShowDialog(argsIn, out newArgs) == DialogResult.OK) ? newArgs : argsIn; }