private void Save_Click(object sender, EventArgs e) { string PlayerOneName = OnePlayerNameTXT.Text; string PlayerTwoName = TwoPlayerNameTXT.Text; string[] settings = { PlayerOneName, PlayerTwoName, "99" }; System.IO.File.WriteAllLines(@"settings.conf", settings); Save.Text = "Saved !"; Save.Enabled = false; Back.Focus(); }
void ChangeFlip() { Front.Visibility = Visibility.Collapsed; Back.Visibility = Visibility.Visible; Back.Focus(); }