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

Show/Hide controls based on Multiselect Listbox

$
0
0

Hi,
I am new to windows form based application. I am designing a windows from with a multiselect listbox and textboxes. I have to show and hide textboxes based on the selection.
for ex:
If the user select 2nd option, i have to show textbox2, if the user selects option3, i have to show textbox3 and to hide textbox2. If the user selects options2,3, i have to show both of the textboxes2,3.

Can anyone suggest me that, how to achieve this.

Thanks in advance.


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>