I have three user controls. Here is their description: 1) The first user control (ucCountry) contains a combobox that displays country names from an xml file.
2) The second user control (ucChannelType) contains two switches for choosing a TV and another for choosing the type of radio channel.
3) The third user control (ucChannels) will populate all channels in which the country name is provided by ucCountry and the type provided by ucChannelType
Now, how to establish a connection between this user control in the form. I need to separate custom elements from a form. Therefore, I need to use events. But if ucCountry fires an event (for example, a CountryChanged event), and ucChannels sign the event, how to get the channel type from ucChannelType.
Thanks in advance...
source
share