Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Sample Screens
Login Form
10
11
12
13
14
namespace SMS { public partial class UIMessage : Form { temp2 temp2success= new temp2(); Categorylist listcatagorydal; string username = ConfigurationManager.AppSettings["username"]; string password = ConfigurationManager.AppSettings["password"]; bool atttachment = false; public UIMessage() { InitializeComponent(); btnoffemail.Enabled = false; btnoffsms.Enabled = false ; grpSMS.Enabled = false; 15
private void btnoffemail_Click(object sender, EventArgs e) { if (radiooffEmail.Checked == false && radiooffSMS.Checked == false) { MessageBox.Show("Choose the Massage type"); radiooffEmail.Focus(); } sendmail(); MessageBox.Show("E-Mail Sending Successfully"); }
private void radiooffSMS_CheckedChanged(object sender, EventArgs e) { if (radiooffSMS.Checked == true) { btnoffsms.Enabled = true; grpSMS.Enabled = true; grpSMS.Visible = true; grpMail.Visible = false; btnoffemail.Enabled = false; } } private void radiooffEmail_CheckedChanged(object sender, EventArgs e) { if (radiooffEmail.Checked == true) { 16
private void richtxtoffSMS_TextChanged(object sender, EventArgs e) { try { lblCount.Text = (140 - (richtxtoffSMS.TextLength)).ToString(); } catch (Exception ex) { MessageBox.Show(ex.Message, "VTech", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }
private void btnAttach_Click(object sender, EventArgs e) { try { openFileDialog1.ShowDialog(); atttachment = true; } catch (Exception ex) { 17
private void btnoffsms_Click(object sender, EventArgs e) { if (radiooffEmail.Checked == false && radiooffSMS.Checked == false) { MessageBox.Show("Choose the Massage type"); radiooffEmail.Focus(); } sendsms1();
private void loadcategory() { try { for (int i = 0; i < (dtagcategory.Rows.Count) - 1; i++) { int count = 0; if (dtagcategory.Rows[i].Cells[0].Value != null && ((bool)dtagcategory.Rows[i].Cells[0].Value == true)) { count++; } if (count > 0) 18
} } } } } catch (Exception ex) { MessageBox.Show(ex.Message, "VTech", MessageBoxButtons.OK, MessageBoxIcon.Warning); } } private void loadname() { try { DataTable table = new DataTable(); 19
SmtpClient mail = new SmtpClient(); MailMessage mess = new MailMessage(); System.Net.Mail.Attachment attachment; mail.Credentials = new System.Net.NetworkCredential(ConfigurationManager.AppSettings["emailusername"], ConfigurationManager.AppSettings["emailpassword"]); 20
21
22
} } lsttmep.Items[0].Remove(); }
23
//temp2success.deletetemp2username(lstsendlist.SelectedItems[0].Text.ToString()); //lstsendlist.SelectedItems[0].Remove(); }
} }
24
CONCLUSION
The goal of the project SMS Based Advertisement successfully achieved. The implementation and testing has been done in a step-by-step process. Each module has been developed and tested individually to obtain the necessary required output in the desired form. The project has been done as user-friendly.
The software developed has been designed and run to satisfy the requirements and needs of the organization as well as the end users. The system reduces the manual work of maintenance of the records. It has also resulted in quick retrieval and reference of required information, which is vital to the degrees of the organization.
The entire system is documented and can be easily understood by the end users. The form are very user friendly and also easy to handle even by the beginners with very little effort and guidance
25
26
2. BILL EVJEN, BILLY HOLLIS, ROCKFORD LHOTKA, AND TIM MCCARTHY Professional VB.NET 2005, 3rd Edition 3. ELIAS. M. AWAD, System Analysis and Design, Galgotia Publications 1997 Edition. 4. JOYCE COX AND POLLY URBAN, Introduction to SQL Server 2000 BPB publications 1998 Edition 5. ROGER S.PRESSMAN. Software Engineering. Tata McGraw-Hill Publishing company, Vth Edition, 2001. 6. D M DHAMDHERE. Systems Programming and Operating Systems. Tata McGraw-Hill Publishing Company, II Edition, 2002. 7. Microsoft SQL Server 2000 Unleashed by Ray Rankins, Paul Bertucci, Paul Jensen ISBN: 0672324679 Published by. Sams Publishing
27