Composite control
Image http://www.freeimagehosting.net/uploads/a51136603b.png
Howdy
I hope for help. I wanted to create the Composite Control shown in the screenshot above. As you can see in the screenshot, Parent Control is label 1; it contains child controls Label2, Label3 and Label4 and PictureBox, containing a predefined image.
I would like to include the above in a C # composite control with the following specifications:
The parent label, Label1, should generate a Click event. Label2, Label3, and Label4 controls must be assigned to tooltips in the MouseMove event, while the last Child Control, PictureBox must have both tooltips for MouseMove Event and Click Event.
Similarly, the locations of Label2, Label3, Label4, and PictureBox in the Parent Label1 control must be set as properties, as well as their texts and sizes.
How do I incorporate all of this into one composite control called AilmentLabel? Any advice or information is appreciated. Thank you very much.
source share