protected virtual void OnDirectoryRemoved(DirectoryScanningMonitorEventArgs e)
        {
            EventHandler <DirectoryScanningMonitorEventArgs> handler = DirectoryRemoved;

            if (handler != null)
            {
                handler(this, e);
            }
        }
예제 #2
0
        /// <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);
 }
예제 #4
0
 private void RespondToDirectoryRemovedEvent(object sender, DirectoryScanningMonitorEventArgs eventArgs)
 {
     OnDirectoryRemoved(eventArgs);
     //DisplayTextOnStatusBar(String.Format("No longer monitoring {0}", eventArgs.Directory));
 }
예제 #5
0
 private void RespondToDirectoryRemovedEvent(object sender, DirectoryScanningMonitorEventArgs eventArgs) {
     OnDirectoryRemoved(eventArgs);
 }
예제 #6
0
 protected virtual void OnDirectoryRemoved(DirectoryScanningMonitorEventArgs e) {
     EventHandler<DirectoryScanningMonitorEventArgs> handler = DirectoryRemoved;
     if(handler != null) {
         handler(this, e);
     }
 }
예제 #7
0
 private void CurrentMonitor_DirectoryAdded(object sender, DirectoryScanningMonitorEventArgs e)
 {
     OnDirectoryAdded(e);
 }
예제 #8
0
 private void CurrentMonitor_DirectoryAdded(object sender, DirectoryScanningMonitorEventArgs e) {
     OnDirectoryAdded(e);
 }
예제 #9
0
 /// <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);
     }
 }