public OcrThread(MainForm f, ManualResetEvent se, ManualResetEvent fe, int n) { parentForm = f; stopEvent = se; finishedEvent = fe; nSubtitles = n; reportUnknownChar = false; }
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; }
public ProgressForm(MainForm m, int numSubtitles) { mainForm = m; InitializeComponent(); progressBar.Maximum = numSubtitles; }