예제 #1
0
 private void label2_Click(object sender, EventArgs e)
 {
     if (email.Text == null || email.Text == "Type your email")
     {
         label3.ForeColor = Color.Red;
         label3.Text      = "Please enter your email first.";
     }
     else
     {
         if (forgot == null)
         {
             forgot = new ForgotPassword();
             forgot.notNew(email.Text);
             forgot.Show();
             Close();
         }
         else
         {
             forgot = null;
         }
     }
 }