private void btnCreateList_Click(object sender, EventArgs e)
        {
            myHash = new simple_hash_function();
            listBox2.DataSource = null;
            string result = "100";

            foreach (Control control in this.groupBox1.Controls)
            {
                if (control is RadioButton)
                {
                    RadioButton myRadio = control as RadioButton;
                    if (myRadio.Checked)
                    {
                        result = myRadio.Text;
                    }
                }
            }
            label1.Text = "List of " + result + " numbers created ";

            randomNumbers myRnd  = new randomNumbers();
            List <int>    _items = new List <int>();

            foreach (int items in myRnd.arrayElements(int.Parse(result)))
            {
                _items.Add(items);
            }
            listBox1.DataSource = _items;
        }
 public frmHashing()
 {
     InitializeComponent();
     myHash = new simple_hash_function();
 }