예제 #1
0
 private void btn_Run_Click(object sender, EventArgs e)
 {
     try
     {
         tb_Output.Clear();
         MyTask.CopyFiles(tb_InputFolder.Text, tb_OutputFolder.Text);
         tb_Output.Text = "Complete";
     }
     catch (Exception ex)
     {
         tb_Output.Text = ex.ToString();
     }
 }
예제 #2
0
 public void OnTimer(object sender, ElapsedEventArgs args)
 {
     // TODO: Insert monitoring activities here.
     MyTask.CopyFiles(_inputFolder, _outputFolder);
 }