Exemplo n.º 1
0
        private void ConvertFiles(string[] files)
        {
            _processor.LoadSettings();
            _processor.ProcessorSettings.Settings.OutPutPath    = comboBoxDestination.Text;
            _processor.ProcessorSettings.Settings.ResourcesPath = ConvertProcessor.GetResourcesPath();
            _processor.ProcessorSettings.ProgressCallbacks      = new ProgressUpdater(this);
            List <string> allFiles = SelectValidFiles(files);

            backgroundWorkerProcess.RunWorkerAsync(new object[] { _processor, allFiles, this });
        }
Exemplo n.º 2
0
 private static void ProcessSettings(ConvertProcessor processor)
 {
     processor.LoadSettings();
     processor.ProcessorSettings.Settings.ResourcesPath = ConvertProcessor.GetResourcesPath();
 }