No - there is no direct translation from Windows Forms to WPF - moreover, direct execution of this will be bad and lead to a very poorly developed WPF application.
I will talk about this in detail in my WPF series with MVVM - in particular, βPart 3β shows what happens when you write WPF in the same way as regular Windows Forms applications, but then I will explain why this is a bad idea.
WPF, in essence, is built on a completely different software paradigm than Windows Forms. It would be better to split your business logic in Windows Forms and then write a new View layer in WPF to work with the logic.
Reed copsey
source share