The
Panel Control is a container control to host a group of similar child
controls. One of the major uses I have found for a Panel Control is when
you need to show and hide a group of controls. Instead of show and hide
individual controls, you can simply hide and show a single Panel and
all child controls. so for this purpose you have two panel on the following form .
if you want to hide panel one you can do as follow on any button click event or on form load .
to show panel 1 use Panel1.show(); method or to show panel 2 Use panel2.show() on any button's click event
if you want to hide panel one you can do as follow on any button click event or on form load .
to show panel 1 use Panel1.show(); method or to show panel 2 Use panel2.show() on any button's click event
No comments:
Post a Comment