The following information is for the Complementary Technologies
Goto the TestSMS folder and start the IDE by clicking on the TestSMS solution.
The SMS component enables you to send and receive Short Messages using a GSM modem or a phone that has modem function.
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;
}