How I can run handler from one application to another, for example: In applicati开发者_如何学JAVAon one i have form1 and button.
In application two I have also form1 and button.
Now how I can run handler for button on form1 in first application from applicaton two?
Thanks!
For this you would need inter process communication (ipc). See this question for more details about ipc in .net.
Generally speaking you're gonna need some form on inter-process communication for these two apps to talk to one another. The simplest option in your case (though by far not the most reliable) is to use System.Windows.Forms.SendKeys.Send().
精彩评论