Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Hide All User Controls on a Page

$
0
0

Hi Guys,

I have a set of user Controls that perform different Functions and display different details on a page. When a user clicks a button I wan't to hide all User Controls apart from one for example:

If a user click the 'User' button I want to hide the 'ucUpload' and 'ucView' controls.

Is there aways that I can 'Hide All' user controls and then only show the ones that I am interested in. I don't realy wan't to have lines and lines of code to hide all my indervidual User Controls (there is about 10 per page).


TPark IT Technician


Viewing all articles
Browse latest Browse all 12583

Trending Articles