Embedding a Windows Form into a WPF application

c#, winforms, wpf

Solution

You'll want to use a WindowsFormsHost. Check this tutorial out (shows how to do WPF in WinForms and vice versa).

Problem

I have a Old windows form application and i don't want to convert it to wpf , i want to embed it inside my wpf application main window . How can i do this ?. Also , How Can i transfer text between wpf and embeded WinForm using WindowsFormHost ?

Original source

Related problems