Senerio:
I have a custom user control which contains two control arrays. The user
control has a group box in which the two control arrays are dynamically
built. The two control arrays are RadioButtons and PictureBoxes.
Task:
What I need to accomplish with this custom user control is to rearrange the
pictures in the PictureBox Control Array based on what RadioButton is
selected. I do not want my RadioButton Control array to have a dependency on
the PictureBox Control Array as I use that RadioButton Control array
elsewhere in this project.
My though is that I need to have an "event monitor" in the custom user
control, such that when the RadioButton OnClick event is fired the parent is
notified and can then fire off a method to handle changing the pictures in
the PictureBox array. This is however, something that I have not tackled in
the passed so I am unsure how to approach getting this accomplished. There
is most likely a very easy solution.
If anyone would be so kind as to point me into the right direction I would
be very grateful...
Thanks - Johan.