Beispiel #1
0
 public FrmReq(FrmSignup frm, string strUid, string strGid, string strPass)
 {
     InitializeComponent();
     _strUid    = strUid;
     _strGid    = strGid;
     _strPass   = strPass;
     _frmSignUp = frm;
 }
Beispiel #2
0
 private void btnValidateAnswer_Click(object sender, EventArgs e)
 {
     if (strAns1.Equals(txtA1.Text) && strAns2.Equals(txtA2.Text) && strAns3.Equals(txtA3.Text))
     {
         MetroMessageBox.Show(this, "Correct Answers!", "Success", MessageBoxButtons.OK, MessageBoxIcon.Information);
         this.Close();
         FrmSignup frmSignup = new FrmSignup();
         frmSignup.Show();
     }
     else
     {
         MetroMessageBox.Show(this, "Wrong Answers", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
Beispiel #3
0
 public FrmReq()
 {
     InitializeComponent();
     _frmSignUp = null;
 }