private void ResetBtn_Click(object sender, EventArgs e) { Randomcomb.ResetText(); Randomcomb.Items.Clear(); rdoLess.Checked = false; rdoGreater.Checked = false; }
private void GenerateBtn_Click(object sender, EventArgs e) { Randomcomb.ResetText(); Randomcomb.Items.Clear(); Random r = new Random(); for (int i = 0; i < r.Next(1, 51); i++) { Randomcomb.Items.Add(r.Next(100, 999)); } }