コード例 #1
0
 void _graphControlClient_ChannelScanStarted(object sender, EventArgs e)
 {
     if (ChannelScanStarted != null)
     {
         ChannelScanStarted.Invoke(this, e);
     }
 }
コード例 #2
0
        public void StartChannelScan()
        {
            _channelScanCancelled = false;

            if (ChannelScanStarted != null)
            {
                ChannelScanStarted.Invoke(this, new EventArgs());
            }

            _baseTuner.TryChannel = _current;
            _timer.Enabled        = true;
        }
コード例 #3
0
        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());
            }
        }