Example #1
0
        public void DataReceived(Int64 value)
        {
            LfEventArgs e = new LfEventArgs();
            e.value = value;

            if (LfDataReceived != null)
                LfDataReceived(this, e);
        }
Example #2
0
 private void eventComPort1_LfDataReceived(object sender, LfEventArgs e)
 {
     value = e.value.ToString();
     this.Invoke(new EventHandler(UpdateData));
 }