예제 #1
0
    /******************  Getting needed parameters ******************/

    /// <summary>
    /// Calls the parameter form to get the output file path.
    /// </summary>
    /// <returns>
    /// 1 on success
    /// </returns>
    public int CallParameterForm()
    {
        ParameterForm frm = new ParameterForm();

        try
        {
            frm.ShowDialog();
            ProdLoggerInputParameters t = new ProdLoggerInputParameters
            {
                ParamName  = "OutputFile",
                ParamType  = "string",
                ParamValue = frm.SavePath
            };
            ReturnParameters.Add(t);

            return(1);
        }
        finally
        {
            frm.Dispose();
        }
    }