The following information is for the Complementary Technologies

Analyse Source Code

Goto the TestSMS folder and start the IDE by clicking on the TestSMS solution.

SMS Component

The SMS component enables you to send and receive Short Messages using a GSM modem or a phone that has modem function.

Program 1.1 SMS Source Code

private void checkBox1_CheckedChanged(object sender, System.EventArgs e)
{
if (checkBox1.Checked)
   sms1.Open(textBox3.Text);
else
   sms1.Close();
}

private void button2_Click(object sender, System.EventArgs e)
{
sms1.Query();
}

private void button1_Click(object sender, System.EventArgs e)
{
sms1.Send(textBox1.Text, textBox2.Text);
}

private void sms1_onReceived(object sender, EventArgs e)
{
Control.CheckForIllegalCrossThreadCalls = false;
label1.Text = sms1.sresult;
}

Short Message Service SMS Page 1 | 2 | 3 | 4 | 5