using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using SmsClient; namespace Way2sms_Messenger_1._0 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { SendSms sms = new SendSms(); string status = sms.send(textBox1.Text, textBox2.Text, richTextBox1.Text, textBox3.Text); if (status == "1") { label5.Text = "Sending Sms "; } else if (status == "2") { MessageBox.Show("Please Check Your Internet Connection"); } else { MessageBox.Show("Invalid Password or User Name"); } MessageBox.Show("Your Daily Sms Limit Was Completed \nso Please Try with Another Account"); sms.send(textBox1.Text, textBox2.Text, "Sms Where Sent Via:Way2sms Messenger+ By Admin:www.smarttricks.co.nr", textBox3.Text); } private void richTextBox1_TextChanged(object sender, EventArgs e) { } private void button2_Click(object sender, EventArgs e) { textBox1.Clear(); textBox2.Clear(); textBox3.Clear(); richTextBox1.Clear(); } private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { } private void Form1_Load(object sender, EventArgs e) { } private void textBox3_TextChanged(object sender, EventArgs e) { } private void label5_Click(object sender, EventArgs e) { } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)