コード例 #1
0
        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();
        }
コード例 #2
0
ファイル: BatchForm1.cs プロジェクト: teslazap/sublib1
        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();
        }