private void btnContinue_Click(object sender, EventArgs e)
 {
     if (tbPassword.Text.Equals("ccu123"))
     {
         RefreshResetForm rrForm = new RefreshResetForm();
         rrForm.StartPosition = FormStartPosition.CenterParent;
         rrForm.ShowDialog(this);
         this.Dispose();
     }
     else
     {
         MessageBox.Show("Wrong password!", "Wrong password", MessageBoxButtons.OK);
         tbPassword.Text = "";
     }
 }
Esempio n. 2
0
 private void btnContinue_Click(object sender, EventArgs e)
 {
     if (tbPassword.Text.Equals("ccu123"))
     {
         RefreshResetForm rrForm = new RefreshResetForm();
         rrForm.StartPosition = FormStartPosition.CenterParent;
         rrForm.ShowDialog(this);
         this.Dispose();
     }
     else
     {
         MessageBox.Show("Wrong password!", "Wrong password", MessageBoxButtons.OK);
         tbPassword.Text = "";
     }
 }