c# - How to reroute click event to a double click? -
i'm trying reroute click event act double click instead. example if double click textbox select text can edit, want single click same.
is possible reroute events , if how 1 so? thanks!
inside single click event handler, following:
var newmouseevent = new mousebuttoneventargs(mouse.primarydevice, 0, mousebutton.left) { routedevent = control.mousedoubleclickevent }; mytextbox.raiseevent(newmouseevent);
Comments
Post a Comment