Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Silverlight <-> WinForms Method Invoking

Silverlight <-> WinForms Method Invoking

Scheduled Pinned Locked Moved C#
questioncsharpwinforms
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    softwarejaeger
    wrote on last edited by
    #1

    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

    A L 2 Replies Last reply
    0
    • S softwarejaeger

      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

      A Offline
      A Offline
      Abhinav S
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • S softwarejaeger

        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

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        http://www.silverlightshow.net/items/Communication-bewteen-Silverlight-applications-on-the-client-side.aspx[^]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups