Esempio n. 1
0
        private void OnChanged(object source, FileSystemEventArgs e)
        {
            var t = e.ChangeType;

            if (t == WatcherChangeTypes.Created || t == WatcherChangeTypes.Changed)
            {
                var notificationController = new NotificationController();
                notificationController.HandleNotification(Properties.Settings.Default, e.FullPath, this);
            }
        }