private void Submit_Click(object sender, EventArgs e) { if (DataOk()) { this.Hide(); MatchingGame mg = new MatchingGame(First_Name_TB.Text); mg.ShowDialog(); } }
private void button1_Click(object sender, EventArgs e) { if (DataOK()) { this.Hide(); MatchingGame mg = new MatchingGame(firstNameTB.Text); mg.ShowDialog(); } }
private void Button1_Click(object sender, EventArgs e) { if (DataOK()) { this.Hide(); //String display_name = Salutation.Text; MatchingGame mg = new MatchingGame(Salutation.Text + " " + FirstName.Text); mg.ShowDialog(); } }