private void Form1_Load(object sender, EventArgs e)
        {
            List <HardwareProduct> prod = HardwareDB.GetHardwareProducts();

            for (int i = 0; i < prod.Count(); i++)
            {
                checkedListBox1.Items.Add(prod[i]);
            }
        }
        public void Form1_Load()
        {
            checkedListBox1.Items.Clear();

            List <HardwareProduct> prod = HardwareDB.GetHardwareProducts();

            for (int i = 0; i < prod.Count(); i++)
            {
                checkedListBox1.Items.Add(prod[i]);
            }
        }