private void btnSkip_Click(object sender, EventArgs e) { frmCustomerView frmCustomerView = new frmCustomerView(fileClass); frmCustomerView.Show(); this.Close(); }
private void verifyPassword() { if (Convert.ToString(char1) == txt1stChar.Text && Convert.ToString(char2) == txt2ndChar.Text && Convert.ToString(char3) == txt3rdChar.Text) { frmCustomerView frmCustomerView = new frmCustomerView(fileClass); frmCustomerView.Show(); this.Close(); } else { generateVerification(); lblFeedback.Text = "The data entered was incorrect."; MessageBox.Show("WRONG. " + char1 + "," + char2 + "," + char3); } }
private void btnSkip_Click(object sender, EventArgs e) { frmCustomerView frmCustomerView = new frmCustomerView(fileClass); frmCustomerView.Show(); this.Close(); }
private void verifyPassword() { if (Convert.ToString(char1) == txt1stChar.Text && Convert.ToString(char2) == txt2ndChar.Text && Convert.ToString(char3) == txt3rdChar.Text) { frmCustomerView frmCustomerView = new frmCustomerView(fileClass); frmCustomerView.Show(); this.Close(); } else { generateVerification(); lblFeedback.Text = "The data entered was incorrect."; MessageBox.Show("WRONG. " + char1 + "," + char2 + "," + char3); } }