Basic Dot Net Question:
Explain Difference between Panel and GroupBox classes using .NET?

Answers:
Answer #1
Panel and Group box both can used as container for other controls like radio buttons and check box.
the difference in panel and group box are Panel
1) In case of panel captions cannot be displayed
2) Can have scroll bars.
Group box
1) Captions can be displayed.
2) Cannot have a scroll bar
Panel and Group box both can used as container for other controls like radio buttons and check box.
the difference in panel and group box are Panel
1) In case of panel captions cannot be displayed
2) Can have scroll bars.
Group box
1) Captions can be displayed.
2) Cannot have a scroll bar
Answer #2
Panel is scrollable. In panel we can’t set caption like Group box.
Panel is scrollable. In panel we can’t set caption like Group box.
Previous Question | Next Question |
Explain DataSet.AcceptChanges and DataAdapter.Update methods in .NET? | How many types of exception handlers are there in .NET? |