private void ShowError(string msg) { Form error = new Error(msg); error.Show(); Form newTry = new CreateAccount(form, username, password, repeatPassword); newTry.Show(); this.Close(); }
private void CreateAccountButton_Click(object sender, EventArgs e) { Form CreateAccount = new CreateAccount(this); CreateAccount.Show(); }