Ejemplo n.º 1
0
 private void DeviceConnectinReceivedEvent(object sender, DeviceCommandEventHandlerArgs e)
 {
     //var cmd = new CmtiCommand();
     foreach (var index in e.SmsIndex)
     {
         OnNewMessageEventHandlerArgs(index);
     }
 }
Ejemplo n.º 2
0
 private void com_ReceivedOrReceiveEvent(object sender, DeviceCommandEventHandlerArgs e)
 {
     if (!InvokeRequired)
     {
        // richTextBoxOutput.Text = e.Command + richTextBoxOutput.Text;
     }
     else
     {
         Invoke(new Action<object, DeviceCommandEventHandlerArgs>(com_ReceivedOrReceiveEvent), sender, e);
     }
 }