private void button1_Click(object sender, EventArgs e) { if (txtnama.Text != "") { highscore h = new highscore(txtnama.Text, warna, wincause, memakan); h.Visible = true; this.Close(); } }
private void btnhighscore_Click(object sender, EventArgs e) { highscore h = new highscore("", "", "", ""); h.Visible = true; }