public void AddToClipboard(ChangedPath fullPath)
 {
     using (var stream = CreateCopyDescription())
     {
         IDataObject data = new DataObject();
         data.SetData(DataFormats.FileDrop, new[] { fullPath.ToString() }, true);
         data.SetData("Preferred DropEffect", stream);
         Clipboard.Clear();
         Clipboard.SetDataObject(data, true);
     }
 }
 private static Func <Minimatcher, bool> Matches(ChangedPath changedPath)
 {
     return(g => g.IsMatch(changedPath.ToString()));
 }
 public void NotifyMonitoredPathChanged(ChangedPath fullPath)
 {
     _taskbarIcon.ShowBalloonTipInfo("Changed", fullPath.ToString());
 }