protected void OnFrequencyDetected(FrequencyDetectedEventArgs e)
 {
     if (FrequencyDetected != null)
     {
         FrequencyDetected(this, e);
     }
 }
 protected void OnFrequencyDetected(FrequencyDetectedEventArgs e)
 {
     if (FrequencyDetected != null)
     {
         FrequencyDetected(this, e);
     }
 }
 void frequencyInfoSource_FrequencyDetected(object sender, FrequencyDetectedEventArgs e)
 {
     if (InvokeRequired)
     {
         BeginInvoke(new EventHandler <FrequencyDetectedEventArgs>(frequencyInfoSource_FrequencyDetected), sender, e);
     }
     else
     {
         UpdateFrequecyDisplays(e.Frequency);
     }
 }
Esempio n. 4
0
 void frequencyInfoSource_FrequencyDetected(object sender, FrequencyDetectedEventArgs e)
 {
     if (InvokeRequired)
     {
         BeginInvoke(new EventHandler<FrequencyDetectedEventArgs>(frequencyInfoSource_FrequencyDetected), sender, e);
     }
     else
     {
         UpdateFrequecyDisplays(e.Frequency);
     }
 }