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. WPF
  4. Route Flash Event to WPF Code

Route Flash Event to WPF Code

Scheduled Pinned Locked Moved WPF
wpfcsharpadobesales
2 Posts 2 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.
  • T Offline
    T Offline
    Tiger456
    wrote on last edited by
    #1

    Hi We have a WPF application which runs on kiosk. On idle time (when no customer at kiosk) kiosk will a play flash. There is button at the right bottom of flash. When the user click on that button We need to map/route this button click event to a method in WPF page in which the flash is playing. Way we have designed forms for playing flash: First we placed a WebBrowser control inside a "UserControl" which inherits from System.Windows.Forms namespace. In runtime a flash file is assigned to this control and loaded into a "WindowsFormsHost" control placed inside an XAML page Thanks in Advance

    P 1 Reply Last reply
    0
    • T Tiger456

      Hi We have a WPF application which runs on kiosk. On idle time (when no customer at kiosk) kiosk will a play flash. There is button at the right bottom of flash. When the user click on that button We need to map/route this button click event to a method in WPF page in which the flash is playing. Way we have designed forms for playing flash: First we placed a WebBrowser control inside a "UserControl" which inherits from System.Windows.Forms namespace. In runtime a flash file is assigned to this control and loaded into a "WindowsFormsHost" control placed inside an XAML page Thanks in Advance

      P Offline
      P Offline
      Paul Selormey
      wrote on last edited by
      #2

      It might be easier if you use the System.Windows.Controls.WebBrowser control. See the WebBrowserControlSample in the SDK WPF samples, it shows how to interact with the scripts. Best regards, Paul.

      Jesus Christ is LOVE! Please tell somebody.

      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