/// <summary> /// launches the vobsub indexer /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void Run(MainForm info) { using (VobSubIndexWindow vsi = new VobSubIndexWindow(info)) { vsi.ShowDialog(); } }
private static Job ReconfigureJob(Job j) { if (!(j is SubtitleIndexJob)) { return(null); } SubtitleIndexJob m = (SubtitleIndexJob)j; VobSubIndexWindow w = new VobSubIndexWindow(MainForm.Instance); w.Job = m; if (w.ShowDialog() == DialogResult.OK) { return(w.Job); } else { return(m); } }