示例#1
0
 public static void Start(string path, string template_name, string template_text)
 {
     Stop();
     finder = new Finder(path, template_name, template_text);
     if (thread == null)
     {
         thread = new Thread(finder.Start);
         thread.Start();
         XMLWorker.Write(path, template_name, template_text);
         timer.Start();
     }
 }
示例#2
0
 private void Form1_FormClosing(object sender, FormClosingEventArgs e)
 {
     Program.Stop();
     XMLWorker.Write(start_directory.Text, template_name.Text, template_text.Text);
 }