0

How I can run handler from one application to another, for example: In application 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!

user238271
  • 583
  • 2
  • 10
  • 27

2 Answers2

0

For this you would need inter process communication (ipc). See this question for more details about ipc in .net.

Community
  • 1
  • 1
Ando
  • 10,829
  • 2
  • 29
  • 44
0

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().

Guido Domenici
  • 5,008
  • 2
  • 27
  • 38