예제 #1
0
 private void btnSendMessage_Click(object sender, EventArgs e)
 {
     if (coreController.ValidateMailFields())
     {
         coreController.SendMail();
         MessageBox.Show("Sent Message To : ", txtTo.ToString());
     }
     else
     {
         MessageBox.Show("Validating Field Return false", "Human Error");
     }
 }