public static List<PendingPrintJob> GetPendingJobs() { List<PendingPrintJob> list = new List<PendingPrintJob>(); foreach (string file in GetPendingJobsFiles()) { PendingPrintJob job = new PendingPrintJob(file); list.Add(job); } return list; }
public static List <PendingPrintJob> GetPendingJobs() { List <PendingPrintJob> list = new List <PendingPrintJob>(); foreach (string file in GetPendingJobsFiles()) { PendingPrintJob job = new PendingPrintJob(file); list.Add(job); } return(list); }
private void RestoreSelectedJob() { this.selectedJob = (PendingPrintJob)pendingJobsListbox.SelectedItem; this.Close(); }
public static void Add(PrintingStateSnapshot snapshot, string name) { PendingPrintJob job = new PendingPrintJob(snapshot, PendingJobsDir + Path.DirectorySeparatorChar + name + "." + RepetierExtension); job.Save(); }
public static void Add(PrintingStateSnapshot snapshot, string name) { PendingPrintJob job = new PendingPrintJob(snapshot, PendingJobsDir + Path.DirectorySeparatorChar + name + "." + RepetierExtension); job.Save(); }