//add, update, search, delete
        private void btnAdd_Click(object sender, EventArgs e)
        {
            GlobalVariable.selectedCustomerID = 0;
            frmCustomerAdd editForm = new frmCustomerAdd();

            editForm.ShowDialog();
            lvCustomers.Items.Clear();
            DisplayCustomers();
        }
        private void btnUpdate_Click(object sender, EventArgs e)
        {
            if (lvCustomers.SelectedItems.Count == 0)
            {
                MessageBox.Show("Please select a Customer to update.");
                return;
            }
            GlobalVariable.selectedCustomerID = int.Parse(lvCustomers.SelectedItems[0].Text);
            frmCustomerAdd editForm = new frmCustomerAdd();

            editForm.ShowDialog();
            lvCustomers.Items.Clear();
            DisplayCustomers();
        }