Exemplo n.º 1
0
 private void BtnResetRC2_Click(object sender, EventArgs e)
 {
     CBQuiz032.ResetText();
     CBQuiz032.Items.Clear();
     RBtnLT5002.Checked = false;
     RBtnGT5002.Checked = false;
 }
Exemplo n.º 2
0
        private void BtnGenerateQuiz032_Click(object sender, EventArgs e)
        {
            CBQuiz032.ResetText();
            CBQuiz032.Items.Clear();
            Random r = new Random();

            for (int i = 0; i < r.Next(2, 9) - 1; i++)
            {
                CBQuiz032.Items.Add(r.Next(10, 99));
            }
        }