Exemplo n.º 1
0
    private void objSMS_NewMessageReceived(object sender, mCore.NewMessageReceivedEventArgs e)
    {
        //New Message Indication Event
        //Display the new message

        //MessageBox.Show("FROM: " + e.Phone + "\r\n\r\nDATE/TIME: " + e.TimeStampRFC + "\r\n\r\nMESSAGE:\r\n" + e.TextMessage, "NEW MESSAGE RECEIVED...", MessageBoxButtons.OK, MessageBoxIcon.None);
        mCore.SMS.NewMessageReceivedEventHandler instance = new mCore.SMS.NewMessageReceivedEventHandler(SendMSG);
        instance.Invoke(sender, e);
    }
Exemplo n.º 2
0
 public void newmsg(object sender, mCore.NewMessageReceivedEventArgs e)
 {
     mCore.SMS.NewMessageReceivedEventHandler instance = new mCore.SMS.NewMessageReceivedEventHandler(checkpss);
     instance.Invoke(sender, e);
 }