private void button2_Click(object sender, EventArgs e) { if ((male == true || female == true) && this.secure_question_button.Text != "" && bunifuCustomTextbox2.Text != "" && bunifuCustomTextbox4.Text != "" && comboBox1.Text != "" && comboBox2.Text != "" && comboBox3.Text != "") { forget pop = new forget(); string acess = pop.search(bunifuCustomTextbox4.Text, male); if (acess == "0") { MessageBox.Show("Check Your Data"); } else { password popo = new password(acess); this.Hide(); popo.ShowDialog(); } } else { MessageBox.Show("Check Your Data"); } }
private void Label_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { forget f = new forget(); f.Show(); }