Example #1
0
 private void InitEvents()
 {
     if (_es.WatchedEvents != null)
     {
         foreach (KeyValuePair <Guid, String> entry in _es.WatchedEvents)
         {
             EventMonitor.AddWatch(EventChangeState, entry.Value, entry.Key);
         }
     }
 }