Exemple #1
0
        private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            SendMail sendMail = new SendMail(textBoxBody.Text, textBoxName.Text, textBoxSubject.Text);

            sendMail.MySendMail();
        }
Exemple #2
0
        private void buttonSubmit_Click(object sender, EventArgs e)
        {
            SendMail sendMail = new SendMail(textBoxBody.Text, textBoxName.Text, textBoxSubject.Text);

            sendMail.MySendMail();
        }