The both classes that is Panel and GroupBox can be used as a container for other controls such as check box control, radio button control etc. But the difference between these two classes is
• In case of Panel class captions cannot be displayed i.e. we can’t set caption but in GroupBox class captions can be displayed.
• The Panel class can have scroll bars but GroupBox class cannot have scroll bar.
Asked In: Many Interviews |