Am I missing something?
(a) If the user double-clicks on the panel before clicking on the shape, I would expect the panel's colour to change.
(b) If the user clicks on the shape then (I would expect) the panel's double click event to no longer work.
Are you saying that case (a) is not happening?
cheers
S.