Exemplo n.º 1
0
 /// <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();
     }
 }
Exemplo n.º 2
0
        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);
            }
        }