Example #1
0
        public OcrThread(MainForm f, ManualResetEvent se, ManualResetEvent fe, int n)
        {
            parentForm = f;
            stopEvent = se;
            finishedEvent = fe;
            nSubtitles = n;

            reportUnknownChar = false;
        }
Example #2
0
        public OcrThread(MainForm f, ManualResetEvent se, ManualResetEvent fe, int start, int n)
        {
            parentForm = f;
            stopEvent = se;
            finishedEvent = fe;
            nSubtitles = n;

            startingSubtitle = start;
            reportUnknownChar = true;
            foundNum = -1;
        }
Example #3
0
 public ProgressForm(MainForm m, int numSubtitles)
 {
     mainForm = m;
     InitializeComponent();
     progressBar.Maximum = numSubtitles;
 }