protected virtual void OnDirectoryRemoved(DirectoryScanningMonitorEventArgs e) { EventHandler <DirectoryScanningMonitorEventArgs> handler = DirectoryRemoved; if (handler != null) { handler(this, e); } }
/// <summary> /// Raises the <see cref="DirectoryAdded"/> event /// </summary> /// <param name="e">The event arguments</param> protected virtual void OnDirectoryAdded(DirectoryScanningMonitorEventArgs e) { EventHandler <DirectoryScanningMonitorEventArgs> handler = DirectoryAdded; if (null != handler) { handler(this, e); } }
private void RespondToDirectoryRemovedEvent(object sender, DirectoryScanningMonitorEventArgs eventArgs) { OnDirectoryRemoved(eventArgs); }
private void RespondToDirectoryRemovedEvent(object sender, DirectoryScanningMonitorEventArgs eventArgs) { OnDirectoryRemoved(eventArgs); //DisplayTextOnStatusBar(String.Format("No longer monitoring {0}", eventArgs.Directory)); }
protected virtual void OnDirectoryRemoved(DirectoryScanningMonitorEventArgs e) { EventHandler<DirectoryScanningMonitorEventArgs> handler = DirectoryRemoved; if(handler != null) { handler(this, e); } }
private void CurrentMonitor_DirectoryAdded(object sender, DirectoryScanningMonitorEventArgs e) { OnDirectoryAdded(e); }
/// <summary> /// Raises the <see cref="DirectoryAdded"/> event /// </summary> /// <param name="e">The event arguments</param> protected virtual void OnDirectoryAdded(DirectoryScanningMonitorEventArgs e) { EventHandler<DirectoryScanningMonitorEventArgs> handler = DirectoryAdded; if(null != handler) { handler(this, e); } }