public void RemoveSpectrumDataDelegate(SpectrumDataDelegate del) { spectrumDataEvent -= del; }
// Subscribing and unsubscribing to events public void AddSpectrumDataDelegate(SpectrumDataDelegate del) { spectrumDataEvent += del; }