private void btnPH_Click(object sender, EventArgs e) { Comecar("1"); CSNewGame x = new CSNewGame(nick); x.Show(); this.Close(); }
private void btnNewGame_Click(object sender, EventArgs e) { CSNewGame Comecar = new CSNewGame(nick); player.Stop(); string[] Caps = uso.DesfragmentarLinha(3, ';', nick); uso.RescreverLinha(3, nick, "1;" + Caps[1]); uso.RescreverLinha(4, nick, "10;0;0;0;0"); uso.RescreverLinha(5, nick, "0"); uso.RescreverLinha(6, nick, "0;0;0;0;0;0"); uso.RescreverLinha(7, nick, "0"); Comecar.Show(); this.Close(); }