Adding a mouse event in windows client

Hi

How can I add a new event for the player like when I double click on the player a form should appear?

Thank you