I'm beginner in developping Wpf i need to know how to run an .exe application in a new TabItem in a TabControl control.
i did this snippet:
private void MenuItem_Click_6(object sender, RoutedEventArgs e) {
TabItem nPage = new TabItem();
nPage.Header = "nouveau";
TabPage.Items.Add(nPage);
ProcessStartInfo pInfo = new ProcessStartInfo("Multi-langue.exe");
pInfo.WorkingDirectory = @"C:\Multi-langue\Multi-langue\bin\Debug";
Process p = Process.Start(pInfo);
}
the new application is running but not inside the new TabItem.
So How can i modify my snippet to integrate the display of the second application launched inside the first one?