private void OnSamplesMonitored(StreamDataMonitorEventArgs e) { if (SamplesMonitored != null) { SamplesMonitored(this, e); } }
private void dataMonitorStream_DataRead(object sender, StreamDataMonitorEventArgs e) { OnSamplesMonitored(e); }