Silverlight <-> WinForms Method Invoking
-
Hello, i want to let a Silverlight-Application run in a WinForms Application (in the WebBrowser Control or the Silverlight-Control) How can i make that they both can communicate with each other? I mean, how can my Silverlight Application invoke a method in my WinForms Application and the same in the other direction? Many thanks
-
Hello, i want to let a Silverlight-Application run in a WinForms Application (in the WebBrowser Control or the Silverlight-Control) How can i make that they both can communicate with each other? I mean, how can my Silverlight Application invoke a method in my WinForms Application and the same in the other direction? Many thanks
Your Winforms code would need to talk to the Javascript code that hosts the Silverlight code. This Javascript code will act as the bridge between your Winforms code and the Silverlight application. If you are calling a Silverlight website via a web browser control, check the website documentation to see if they accept input parameters via their javascript code.
Me, I'm dishonest. And a dishonest man you can always trust to be dishonest.
Honestly. It's the honest ones you want to watch out for... -
Hello, i want to let a Silverlight-Application run in a WinForms Application (in the WebBrowser Control or the Silverlight-Control) How can i make that they both can communicate with each other? I mean, how can my Silverlight Application invoke a method in my WinForms Application and the same in the other direction? Many thanks