Inheritance: System.EventArgs
Example #1
0
 private void handleFinishedFile(object sender, FilepathEventArgs e)
 {
     if (InvokeRequired)
     {
         Invoke(new Action <object, FilepathEventArgs>(handleFinishedFile), sender, e);
         return;
     }
     lstRawFiles.SelectedItems.Remove(e.Filepath);
 }
Example #2
0
 protected virtual void onStartingFile(FilepathEventArgs e)
 {
     var handler = StartingFile;
     if (handler != null)
     {
         handler(this, e);
     }
 }
Example #3
0
 protected virtual void onFinishedFile(FilepathEventArgs e)
 {
     var handler = FinishedFile;
     if (handler != null)
     {
         handler(this, e);
     }
 }
Example #4
0
 private void handleStartingFile(object sender, FilepathEventArgs e)
 {
     if (InvokeRequired)
     {
         Invoke(new Action<object, FilepathEventArgs>(handleStartingFile), sender, e);
         return;
     }
     lstRawFiles.SelectedItems.Add(e.Filepath);
 }