コード例 #1
0
        private void btn_start_Click(object sender, EventArgs e)
        {
            lb_directories.Enabled = false;
            btn_start.Enabled      = false;
            lb_results.Items.Clear();
            lb_test.Text          = "Processing...";
            btn_stop.Enabled      = true;
            btn_adddir.Enabled    = false;
            btn_removedir.Enabled = false;
            btn_save.Enabled      = false;
            btn_adddir.Enabled    = false;
            btn_clear.Enabled     = false;
            cb_recursive.Enabled  = false;
            cb_overwrite.Enabled  = false;
            cb_showtime.Enabled   = false;
            runfake rundel = new runfake(processdirlist);

            runhandle = rundel.BeginInvoke(onDoneCallback, null);
        }
コード例 #2
0
ファイル: BatchForm1.cs プロジェクト: teslazap/sublib1
 private void btn_start_Click(object sender, EventArgs e)
 {
     lb_directories.Enabled = false;
     btn_start.Enabled = false;
     lb_results.Items.Clear();
     lb_test.Text = "Processing...";
     btn_stop.Enabled = true;
     btn_adddir.Enabled = false;
     btn_removedir.Enabled = false;
     btn_save.Enabled = false;
     btn_adddir.Enabled = false;
     btn_clear.Enabled = false;
     cb_recursive.Enabled = false;
     cb_overwrite.Enabled = false;
     cb_showtime.Enabled = false;
     runfake rundel = new runfake(processdirlist);
     runhandle = rundel.BeginInvoke(onDoneCallback, null);
 }