protected virtual void OnVuDataReceived(VuDataReceivedEventArgs e) { EventHandler <VuDataReceivedEventArgs> handler = VuDataReceived; if (handler != null) { handler(this, e); } }
void VuMeter_VuDataReceived(object sender, VuDataReceivedEventArgs e) { if (!VuActivated) { return; } VuMeterCurrent = e.Last; VuMeterAvarage = e.Avarage; VuMeterMax = e.Max; LastVuMeasure = e.LastVuMeasure; }