private void btn_score_Click(object sender, EventArgs e) { var pn = new PlayerName(); pn.MyScore = timeScore.ToString(); pn.MyTime = time.ToString(); pn.Show(); btn_score.Enabled = false; }
public void PName() { var pn = new PlayerName(); pn.Close(); }