I've implemented some new WPF stuff in a old WinForm app project and I used to run it as the following:
WpfWindow win = new WpfWindow(); // is a subclass of System.Windows.Window
System.Windows.Forms.Integration.ElementHost.EnableModelessKeyboardInterop(win);
WindowInteropHelper helper = new WindowInteropHelper(win);
helper.Owner = this.Handle;
win.Show();
now the question is, how can I get a list of opened Windows? In a native WPF project I simply do:
var windows = Application.Current.Windows
but I did not find any way in a form project.