Esempio n. 1
0
        //组选号码
        private void btnRandomSelectNums_Click(object sender, EventArgs e)
        {
            RandomTimer.Stop();

            this.selector.SelectNums.Clear();
            this.selector.SelectNums.AddRange(this.selector.RandomSelectNums(Convert.ToInt32(txtNumCount.Text)));

            ShowInfo();
        }
Esempio n. 2
0
 private void btnConfirmNum_Click(object sender, EventArgs e)
 {
     RandomTimer.Stop();
     string[] str = new string[7]
     {
         lblNum1.Text,
         lblNum2.Text,
         lblNum3.Text,
         lblNum4.Text,
         lblNum5.Text,
         lblNum6.Text,
         lblNum7.Text
     };
     this.selector.SelectNums.Add(str);
     //ShowInfo();
     lbNumList.Items.Add(this.selector.LinkStrSingle(str, this.lbNumList.Items.Count));
     btnClear.Enabled  = true;
     btnDelete.Enabled = true;
 }