Guest User

Untitled

a guest
Jul 18th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. public YourWindowsFormsControl(){
  2. InitializeComponent();
  3. var wpfMainWindow = new MainViewControl();
  4. wpfMainWindow.InitializeComponent(); //initialize wpf control
  5. elementHost.Child =wpfMainWindow; //assign the control to element host
  6. }
Add Comment
Please, Sign In to add comment