public static void RunForAll(string[] files, string binary, string description, string[] parameters)
        {
            Console.WriteLine("RunForAll: '" + string.Join(" ", files) + "' '" + binary + " " + string.Join(" ", parameters) + "'");

            foreach (string file in files)
            {
                string[] param = new string[parameters.Length];
                Array.Copy(parameters, param, param.Length);

                ReplaceParameters(ref param, "%INFILE%", "\"" + file + "\"");
                ReplaceParameters(ref param, "%INFILENAME%", new DirectoryInfo(file).Name);

                ConversionInstance     instance = new ConversionInstance(file);
                ConversionProgressItem convItem = new ConversionProgressItem(instance);

                Console.WriteLine("RunForAll:     '" + binary + " " + string.Join(" ", param) + "'");
                Thread processThread = new Thread(() =>
                {
                    instance.Execute(binary, description, String.Join(" ", param));
                });

                processThread.Start();
            }
        }
 internal void AddItem(ConversionProgressItem item)
 {
     panelItems.Controls.Add(item);
 }
 internal void AddItem(ConversionProgressItem item)
 {
     panelItems.Controls.Add(item);
 }