public JobManager(Configuration config) { HistoricFPS = new double[config.ProgressMemory]; Resolution = config.ProgressResolution; Job = new RenderJob(); Job.OutputDirectory = config.OutputPath; Job.TempDirectory = config.TempPath; }
public ConfigForm(Configuration config) { Config = config; InitializeComponent(); txtBlender.Text = config.BlenderPath; txtFFMPEG.Text = config.FFMPEGPath; txtOutput.Text = config.OutputPath; txtTemp.Text = config.TempPath; }
public static Configuration ShowConfig(Configuration previous) { ConfigForm form = new ConfigForm((Configuration)previous.Clone()); form.ShowDialog(); return form.Config; }
private void lnkConfig_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { config = ConfigForm.ShowConfig(config); }