I have an interface called IChannel that has a series of items including a
delcaration for a Panel. I have a class called Channel that implements
IChannel. I'm wanting to dynamically load each channel at runtime. So, i
have a CustomerChannel that inherits Channel and it is bound at runtime and
everything i want to do happen happens.
My constructor for CustomerChannel looks like this:
CustomerChannel() : base("Customer");
This works fine!! However, now i need to have each channel that is created
and loaded dynamically to "supply" a panel of controls so that it can be
"added" to the navigation bar at runtime. My question is this: How do I
"pass" or "assign" this panel so that the main application loads it.
IChannel looks like this:
string Name {get; set; }
Panel NavPanel {get; set; }
How do i get this Panel into my main application? I hope my question makes
sense.
Thanks in advance.
Doug