示例#1
0
 private void EventChangeState(String eventName, EventState es)
 {
     if (!_isMuted)
     {
         Notification += String.Format("{0} - {1}\r\n", eventName, es.GetDescription());
         // TODO fix this up. I would like to have the event string that is displayed in the notification window
         // set to this color and have the "FillColor" set to something else.
         // If too many events come in at one time this means nothing.
         FillColor = _eventActiveColor;
         if (!IsNotiVisible)
         {
             IsNotiVisible = true;
         }
     }
 }
示例#2
0
 private void EventChangeState(String eventName, EventState es)
 {
     if (!_isMuted)
     {
         Notification += String.Format("{0} - {1}\r\n", eventName, es.GetDescription());
         // TODO fix this up. I would like to have the event string that is displayed in the notification window
         // set to this color and have the "FillColor" set to something else. 
         // If too many events come in at one time this means nothing.
         FillColor = _eventActiveColor;
         if (!IsNotiVisible)
             IsNotiVisible = true;
     }
 }