示例#1
0
 private void BtnReset_Click(object sender, EventArgs e)
 {
     CmbAFF.ResetText();
     CmbAFF.Items.Clear();
     RadBtnLT500.Checked = false;
     RadBtnGT500.Checked = false;
 }
示例#2
0
        private void BtnGenerate_Click(object sender, EventArgs e)
        {
            CmbAFF.ResetText();
            CmbAFF.Items.Clear();
            Random r = new Random();

            for (int i = 0; i < r.Next(1, 51); i++)
            {
                CmbAFF.Items.Add(r.Next(100, 999));
            }
        }