首页 新闻 会员 周边 捐助

WPF调用Chrome内核

0
悬赏园豆:40 [待解决问题] 浏览: 4522次

WPF调用Chrome内核,(CEFSharp第三方插件)截图如下:

 

调用Flash页面允许无法点击。

 

Demo见压缩包,在Flash页面点击右键设置Flash

 

复制代码
 1     WebView chrome;
 2         private void Window_Loaded(object sender, RoutedEventArgs e)
 3         {
 4             string url = "http://www.doc88.com/p-6136108382304.html";
 5             BrowserSettings browserSetting = new BrowserSettings { ApplicationCacheDisabled = true, PageCacheDisabled = true };
 6             chrome = new WebView(string.Empty, browserSetting)
 7             {
 8                 Address = url,
 9                 //RequestHandler = this,
10                 Background = Brushes.White
11             };
12             //chrome.RegisterJsObject("callback", new CallbackObjectForJs(this));
13             gridBrowser.Children.Add(chrome);
14         }
复制代码
WPF
rains的主页 rains | 小虾三级 | 园豆:860
提问于:2016-04-25 08:50
< > 人人可用的开源BI工具
分享
所有回答(1)
0

楼主:这个demo还有吗?

大da脸 | 园豆:73 (初学一级) | 2018-05-09 11:21
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册
Top