Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 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();
 }