示例#1
0
        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();
        }
示例#2
0
 void ChangeFlip()
 {
     Front.Visibility = Visibility.Collapsed;
     Back.Visibility  = Visibility.Visible;
     Back.Focus();
 }