Ejemplo n.º 1
0
 void OnDTFMIndication(object sender, DTFMEventArgs e) {
     if (listBoxDTFMInfo.InvokeRequired) {
         this.Invoke(new EventHandler<DTFMEventArgs>(OnDTFMIndication), sender, e);
     } else {
         listBoxDTFMInfo.Items.Add(string.Format("{0}", e.Digits));
     }
 }
Ejemplo n.º 2
0
 void OnDTFMIndication(object sender, DTFMEventArgs e)
 {
     if (listBoxDTFMInfo.InvokeRequired)
     {
         this.Invoke(new EventHandler <DTFMEventArgs>(OnDTFMIndication), sender, e);
     }
     else
     {
         listBoxDTFMInfo.Items.Add(string.Format("{0}", e.Digits));
     }
 }