Example #1
0
 private void StartBtn_Click(object sender, EventArgs e)
 {
     StartBtn.Hide();
     InputBtn.Show();
     MLLbl.Show();
     CounterLbl.Show();
     val = GuessNumber.RandomGen();
 }
Example #2
0
 private void StartBtn_Click(object sender, EventArgs e)
 {
     StartBtn.Hide();
     PlusBtn.Show();
     MultiBtn.Show();
     CounterLbl.Show();
     ValLbl.Show();
     NeedLbl.Show();
     Nval         = Doubler.RandVal();
     NeedLbl.Text = $"Need to get: {Nval}";
     CancelBtn.Show();
     CompActLbl.Show();
     RestartBtn.Show();
     CompActLbl.Text = $"Computer Actions count: {Doubler.ResSearch(Nval)}";
 }