void _graphControlClient_ChannelScanStarted(object sender, EventArgs e) { if (ChannelScanStarted != null) { ChannelScanStarted.Invoke(this, e); } }
public void StartChannelScan() { _channelScanCancelled = false; if (ChannelScanStarted != null) { ChannelScanStarted.Invoke(this, new EventArgs()); } _baseTuner.TryChannel = _current; _timer.Enabled = true; }
internal void FireChannelScanProgressUpdated(int progress) { if (this.ChannelScanProgress < 0) { if (ChannelScanStarted != null) { ChannelScanStarted.Invoke(this, new EventArgs()); } } this.ChannelScanProgress = progress; if (ChannelScanProgressUpdate != null) { ChannelScanProgressUpdate.Invoke(this, new EventArgs()); } }