private void btnRoma_Click(object sender, EventArgs e) { Comecar("3"); _3.Roma.CSNewRoma x = new _3.Roma.CSNewRoma(nick); x.Show(); this.Close(); }
private void btnEvoluir_Click(object sender, EventArgs e) { player.Stop(); _3.Roma.CSNewRoma evoluir = new _3.Roma.CSNewRoma(nick); evoluir.Show(); string[] Caps = uso.DesfragmentarLinha(3, ';', nick); if (Convert.ToInt32(Caps[1]) <= 5) { Caps[1] = "3"; } uso.RescreverLinha(3, nick, "3;" + 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"); this.Close(); }