Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to pass data from the Windows Forms control to WPF application?

$
0
0

Hello folks!

I've created a WPF form hosted a Windows Forms control (MDI forms with Emgu image processing library). 

http://shevaspace.blogspot.nl/2007/02/how-to-host-top-level-hwnds-in-wpf.html

It works great. I get necessary data from images with Emgu and store it in the dictionary object in the Windows Forms.

Dictionary<string, double> dictionary = new Dictionary<string, double>();

Now I need to pass this dictionary object back to the WPF form for further processing. How can I do that in the most effective way?

Any advice would be most welcome!



Viewing all articles
Browse latest Browse all 18858

Trending Articles