开发者

IFrame in WPF application [closed]

开发者 https://www.devze.com 2023-02-22 22:14 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

We are designing an application, part of which is a mashup 开发者_如何学Goof UI from a web application.

Is it possible to place the UI from a web site in a WPF application, as you would an IFrame?

The web page contains a Java applet.


http://msdn.microsoft.com/en-us/library/system.windows.controls.webbrowser.aspx

You could use this, but it will Internet Explorer as the rendering engine, so I suppose that you need to have Java installed to use it. Be sure to test it.


You need to look at the System.Windows.Controls namespace and the WebBrowser control.


I figured it out:

  1. Add ieframe.dll to refrences
  2. do like you add the SHDocVw.WebBrowser to the application dynamicly.
  3. ???
  4. Profit.

You also need to make it so your wpf application can show COM components.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号