Элемент протокола.
Example #1
0
		private static Icon LogItemIcon(LogItem item)
		{
			switch (item.Type)
			{
				case LogEventType.Warning:  return SystemIcons.Warning;
				case LogEventType.Error:	return SystemIcons.Error;
				default:					return SystemIcons.Information;
			}
		}
Example #2
0
		public LogEventArgs(object sender, LogItem item)
		{
			_sender = sender;
			_item = item;
		}
Example #3
0
 public LogEventArgs(object sender, LogItem item)
 {
     _sender = sender;
     _item   = item;
 }