Example #1
0
 private static void fileSystemLogWatcher_Changed(object sender, FileSystemEventArgs e)
 {
     if (e.Name.StartsWith("sys"))
     {
         Data.SystemLogCreatedOrChanged();
     }
     else if (e.Name.StartsWith("switch"))
     {
         Data.SwitchLogCreatedOrChanged();
     }
     else if (e.Name.StartsWith("chan"))
     {
         Data.ChangeLogCreatedOrChanged();
     }
     else if (e.Name.StartsWith("fill"))
     {
         Data.FillingLogCreatedOrChanged();
     }
 }