private void Window_Loaded(object sender, RoutedEventArgs e) { userControl = new WinFormsUserControl(); wfHost.Child = userControl; }