static void HandleFinishedFile(object sender, FilepathEventArgs e) { Console.WriteLine("Finished " + e.Filepath + '!'); }
private void HandleStartingFile(object sender, FilepathEventArgs e) { SetListBoxSelectedItem(lstData, e.Filepath); }
static void HandleStartingFile(object sender, FilepathEventArgs e) { Console.WriteLine("Starting " + e.Filepath + "..."); }
protected virtual void OnStartingFile(FilepathEventArgs e) { EventHandler<FilepathEventArgs> handler = StartingFile; if(handler != null) { handler(this, e); } }
private void HandleFinishedFile(object sender, FilepathEventArgs e) { SetListBoxSelectedItem(lstData, null); }
protected virtual void OnFinishedFile(FilepathEventArgs e) { EventHandler<FilepathEventArgs> handler = FinishedFile; if(handler != null) { handler(this, e); } }
protected virtual void OnStartingFile(FilepathEventArgs e) { StartingFile?.Invoke(this, e); }
protected virtual void OnFinishedFile(FilepathEventArgs e) { FinishedFile?.Invoke(this, e); }