SANJISH KUMAR

SANJISH KUMAR

  • NA
  • 1
  • 1.6k

Inheriting an existing group box in Windows Forms

Sep 23 2012 1:00 AM

Hi,

     I have a form with a groupbox named groupbox5 which is a data entry screen (with labels , textboxes etc) . I have also created 2 groupboxes dynamically ( grpb1 and grpb2) . I want both of these to inherit groupbox5 and be able to display side by side.

If i write

grpb1 = groupbox5
grpb2 = groupbox5

then

 only grpb2 is displayed

Please help

Regards

Sanjish