private void processdirectory(String dirstring) { fpstype camtype = fpstype.Type1; if (rb_type0.Checked == true) { camtype = fpstype.Type0; } if (rb_type1.Checked == true) { camtype = fpstype.Type1; } newbatch = new BatchTool(dirstring, camtype, cb_recursive.Checked, cb_overwrite.Checked, cb_showtime.Checked); newbatch.OnSubgenResult += new BatchTool.SubGenResultHandler(fileprocessed); newbatch.OnDirectoryChange += new BatchTool.SubGenDirectoryChanged(directoryevent); newbatch.ProcessVideoDirectory(); }
private void processdirectory(String dirstring) { fpstype camtype = fpstype.Type1; if (rb_type0.Checked == true) camtype = fpstype.Type0; if (rb_type1.Checked == true) camtype = fpstype.Type1; newbatch = new BatchTool(dirstring, camtype, cb_recursive.Checked, cb_overwrite.Checked, cb_showtime.Checked); newbatch.OnSubgenResult += new BatchTool.SubGenResultHandler(fileprocessed); newbatch.OnDirectoryChange += new BatchTool.SubGenDirectoryChanged(directoryevent); newbatch.ProcessVideoDirectory(); }