private static void mc_Learning(object sender, LearningEventArgs e) { Console.WriteLine("Learning: {0}% freq={1} quality={2}", e.Progress, e.CarrierFrequency, e.SignalQuality); }
private void usbuirtController_Learning(object sender, LearningEventArgs e) { Invoke(new MethodInvoker(delegate { pbIlerleme.Value = e.Progress; lblIlerleme.Text = "%" + e.Progress; pbSinyalKalitesi.Value = e.SignalQuality; lblSinyalKalitesi.Text = "%" + e.SignalQuality; lblTasiyiciFrekans.Text = e.CarrierFrequency.ToString(); })); }
void LearningProgress(object sender, LearningEventArgs e) { Dispatcher.BeginInvoke((Action)delegate { SetValue(SignalQuality, e.SignalQuality); SetValue(CarrierFrequency, e.CarrierFrequency); SetValue(Progress, e.Progress); }); }
void controller_Learning(object sender, LearningEventArgs e) { this.label1.Text = "The USB-UIRT is now learning."; }
private static void mc_Learning(object sender, LearningEventArgs e) { LearnState = "Learning: {" + e.Progress + "% freq=" + e.CarrierFrequency + " quality=" + e.SignalQuality; }