private void btnAdd_Click(object sender, EventArgs e)
        {
            clsAllComponents lcComponent = clsAllComponents.NewComponent(cbType.SelectedItem.ToString());

            lcComponent.tblCategoryName = _Component.Name;

            FrmProduct.DispatchComponentForm(lcComponent);
            if (!string.IsNullOrEmpty(lcComponent.Name))
            {
                refreshFormFromDB(_Component.Name);
                //UpdateComponents();
            }
        }
 private void lstComponents_DoubleClick(object sender, EventArgs e)
 {
     FrmProduct.DispatchComponentForm(lstComponents.SelectedValue as clsAllComponents);
 }