Advertisement
Guest User

Untitled

a guest
Aug 11th, 2011
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.66 KB | None | 0 0
  1.         private void _bw_DoWork(object sender, DoWorkEventArgs e)
  2.         {
  3.             //break up and assign the arguments passed by the methods:
  4.             string[] CommandArguments = e.Argument.ToString().Split('#');
  5.  
  6.             string TargetDirectory = CommandArguments[0];
  7.             bool RecursivePlz = Boolean.Parse(CommandArguments[1]);
  8.             string LogFilename = CommandArguments[2];
  9.  
  10.             ReadFiles(TargetDirectory, RecursivePlz, LogFilename);
  11.         }
  12.  
  13.         public void ReadFiles(string TargetDirectory, bool RecursivePlz, string LogFilename)
  14.         {
  15.                 //do lots of terrible things that take a long time
  16.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement