protected virtual void OnFileSplitProgress(Int64 intCharWritten)
 {
     if (FileSplitProgress != null)
     {
         FileSplitterArgs arg = new FileSplitterArgs();
         arg.InputFile    = mobjFileToSplit.FullName;
         arg.OutputFile   = null;
         arg.CharsWritten = intCharWritten;
         FileSplitProgress(this, arg);
     }
 }
 protected virtual void OnFileSplit()
 {
     if (FileSplit != null)
     {
         FileSplitterArgs arg = new FileSplitterArgs();
         arg.InputFile    = mobjFileToSplit.FullName;
         arg.OutputFile   = null;
         arg.CharsWritten = 0;
         FileSplit(this, arg);
     }
 }
Beispiel #3
0
 public void OnFileSplitProgress(object source, FileSplitterArgs args)
 {
     this.label_Progress.Text = "Split " + args.CharsWritten;
     this.label_Progress.Refresh();
 }
Beispiel #4
0
 public void OnFileSplit(object source, FileSplitterArgs args)
 {
     Console.WriteLine("Completed File Split of file " + args.InputFile);
 }