I am using the following code to host a WPF application inside my Windows Forms application:
var clientApplication = Process.Start("C:\\WpfApplication1.exe");
SetParent(clientApplication.MainWindowHandle, this.Handle);
The WPF app is opening as an independent app, how to force it to open withing the main windows form