Exemplo n.º 1
0
 private void btResetPassword_Click(object sender, EventArgs e)
 {
     //makes sure there is only one passform instantiation
     if (ResetPasswordForm.instantiations == 0)
     {
         resetForm = new ResetPasswordForm();
         resetForm.Show();
     }
 }
Exemplo n.º 2
0
 public SuccessForm(ResetPasswordForm form)
 {
     InitializeComponent();
     instantiations++;
     form.Close();
 }