Exemplo n.º 1
0
 private void btnresponse_Click(object sender, EventArgs e)
 {
     if (retrivedata)
     {
         Emailsend objectemailsend = new Emailsend(Convert.ToString(txtEmail.Text), Convert.ToInt32(txtEnrollment.Text), Convert.ToInt32(label17.Text), findSection());
         objectemailsend.ShowDialog();
         clearthebox();
     }
     else
     {
         MessageBox.Show("Please Click the DataGridView ", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Emailsend objectemail = new Emailsend((label6.Text).ToString(), 0, GID, Convert.ToInt32(label5.Text));

            objectemail.ShowDialog();
        }