Mouse Doubleclick Event for custom object

hi,
I want to get an event for double clicking a custom object.How should I implement it。