I have 3 group boxes on a form.
BuildingInfoGroupBox
AssociationGroupBox
TypeGroupBox
Here is the code in my FormLoad()
ViewDescriptor buildingInfoViewDescriptor = new ViewDescriptor(EntityPropertyDescriptors.EmployerChangeRecord.BuildingInfo);
EmployerChangeFormCBM.Descriptors.AddGroup(BuildingInfoGroupBox, buildingInfoViewDescriptor);
ViewDescriptor associationViewDescriptor = new ViewDescriptor(EntityPropertyDescriptors.EmployerChangeRecord.Association);
EmployerChangeFormCBM.Descriptors.AddGroup(AssociationGroupBox, associationViewDescriptor);
ViewDescriptor typeViewDescriptor = new ViewDescriptor(EntityPropertyDescriptors.EmployerChangeRecord.Type);
EmployerChangeFormCBM.Descriptors.AddGroup(TypeGroupBox, typeViewDescriptor);
When I click on a button in one group the clicked button in another group goes away. What am I doing wrong?