Esempio n. 1
0
 private void _transceiver_CodeReceived(object sender, CodeReceivedEventArgs e)
 {
     _mainWindow.Dispatcher.BeginInvoke((Action) (() =>
                                                  _mainWindow.LogView.Items.Insert(0,
                                                      Code.FromIRCode(_mainWindow.LogView.Items.Count + 1, e.Code))));
 }
Esempio n. 2
0
 private void Driver_CodeReceivedCallback(object sender, CodeReceivedEventArgs codeReceivedEventArgs)
 {
     if (CodeReceived != null)
         CodeReceived(sender, codeReceivedEventArgs);
 }
Esempio n. 3
0
 protected void FireCodeReceived(CodeReceivedEventArgs e)
 {
     if (CodeReceivedCallback != null)
         CodeReceivedCallback(this, e);
 }