private void Form1_Load(object sender, EventArgs e) { timeTxt.Text = ConfigurationManager.AppSettings["ScanTime"]; textBox1.Text = ConfigurationManager.AppSettings["ReportPath"]; string completedPath = ConfigurationManager.AppSettings["CompletedPath"]; string failedPath = ConfigurationManager.AppSettings["FailedPath"]; fileOP = new FileOperate(textBox1.Text, completedPath, failedPath); worker1.RunWorkerAsync(); }
private void Form1_Load(object sender, EventArgs e) { timeTxt.Text = ConfigurationManager.AppSettings["ScanTime"]; textBox1.Text = ConfigurationManager.AppSettings["ReportPath"]; string completedPath = ConfigurationManager.AppSettings["CompletedPath"]; string failedPath=ConfigurationManager.AppSettings["FailedPath"]; fileOP=new FileOperate(textBox1.Text,completedPath,failedPath); worker1.RunWorkerAsync(); }