private void bunifuButton1_Click(object sender, EventArgs e) { if (!((string.IsNullOrWhiteSpace(SignUp_Username.Text)) | (string.IsNullOrWhiteSpace(SignUp_Password.Text)) | (string.IsNullOrWhiteSpace(SignUp_FamName.Text)) | (string.IsNullOrWhiteSpace(SignUp_FirstName.Text)) | (string.IsNullOrWhiteSpace(SignUp_Email.Text)) | (string.IsNullOrWhiteSpace(SignUp_AdressN.Text) | (string.IsNullOrWhiteSpace(SignUp_AdressA.Text)) | (string.IsNullOrWhiteSpace(SignUp_AdressZIP.Text))))) { if (SignUp_Status_Single.Checked == false) { SignUpPartner f3 = new SignUpPartner(); this.Hide(); f3.Show(); } else { SignUp.ParentChild f2 = new SignUp.ParentChild(); this.Hide(); f2.Show(); } } else { MessageBox.Show("All field must be filled"); } }
private void bunifuButton1_Click(object sender, EventArgs e) { this.Hide(); f1 = new SignUpPartner(); f1.Show(); }