private void BufferEvent(object sender, RecordedEventEventArgs e)
 {
     buffer.Add(e.Event);
 }
 private void BufferEvent(object sender, RecordedEventEventArgs e)
 {
     buffer.Add(e.Event);
 }