Hi
how to make:Creating a form from a WinForms Control hosted within WPF (Docking Manager)
UserControl1 rtb = new UserControl1();
System.Windows.Forms.Integration.WindowsFormsHost host = new System.Windows.Forms.Integration.WindowsFormsHost();
host.Child = rtb;
grid.Children.Add(host);
1. AddElementWF_Click ADD - Window2.XAML
2. AddElementWUC_Click ADD - UserControl1.cs
3. AddElementWPF_Click ADD Form2.cs
Attachment:
CS2_18575e0a.zip