private void ResetBttn2_Click(object sender, EventArgs e)
 {
     RandomCom.ResetText();
     RandomCom.Items.Clear();
     RadioLs2.Checked  = false;
     RadioGrt2.Checked = false;
     label1.Text       = Convert.ToString(RandomCom.Items.Count);
 }
        private void BtnGenerate2_Click(object sender, EventArgs e)
        {
            RandomCom.ResetText();
            RandomCom.Items.Clear();
            Random r = new Random();

            for (int i = 0; i < r.Next(2, 9) - 1; i++)
            {
                RandomCom.Items.Add(r.Next(10, 99));
            }
            label1.Text = Convert.ToString(RandomCom.Items.Count);
        }