2
Answers

User Control with Panels

Hi there,
I am a C# Newbie and need to create an application with a user control. The user control must consists of three panels, each with a different colour. I must use Properties, get and set, to return the colour of the panel.

My problem is that I have no idea how to reference the panels' colour in the properties. To create a single panel with a single colour is fine, but doing it with three is a problem for me.

Help will be appreciated.
Answers (2)