Perform mouse event, distinguished between mouse click and mouse double click.