private void btn_Game2_Click(object sender, EventArgs e) { Clash battleForm = new Clash(); Hide(); battleForm.Closed += (s, args) => this.Close(); battleForm.Show(); }
private void btnTest_Click(object sender, EventArgs e) { //File.WriteAllText(txtP1Name.Text + txtP2Name.Text + DateTime.Now.ToString("yyMMdd") + ".txt", txtDisplay.Text); Clash battleForm = new Clash(); battleForm.Show(); }