So i'm using a panel as a button. fairly easy but i have 3 or so labels in the panel and i have around 9 of these panel buttons. how can i make it a little easier than writing mouse enter and leave methods for each item?. if they where identical i would use a user control but there all different but i want the panels to be same colour on enter(silver) and the same on leave (green).
something like
if mouseenter panel1,label1,label2,label3 { panel1 silver } if that makes any sense
any help is appreciated.