Ejemplo n.º 1
0
 private void TryAgainButton_Click(object sender, EventArgs e)
 {
     this.BackColor          = default(Color);
     ComputerVoiceLabel.Text = "I have a number between 1 and 1000--can you guess my number?\nPlease enter your first guess.";
     GuessingTextBox.Enabled = true;
     EnterButton.Enabled     = true;
     GuessingTextBox.Text    = "";
     curGuessingGame         = new GuessingGame();
 }
Ejemplo n.º 2
0
 public Form1()
 {
     InitializeComponent();
     curGuessingGame = new GuessingGame();
 }