如何从网页打开特定div到WPF弹出窗口。使用WPF C#? [英] How do I open particular div from web page into WPF popup. Using WPF C#?

查看:48
本文介绍了如何从网页打开特定div到WPF弹出窗口。使用WPF C#?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的方案,

我的网页包含许多带有id的div,

和我有WPF应用程序包含按钮和弹出窗口,

< span style ="color:#111111; font-family:'Segoe UI',Arial,sans-serif; font-size:14px">现在当我点击按钮弹出窗口时应该打开一个特定的div(例如< div id = xyz) 

怎么做,

例如,

CenturyLink商店定位器
map

如果链接无效,请
将此网址粘贴到浏览器中

http://storelocator.centurylinkapps.com/?fa=storelocator.viewMap&zip= 34787& state =

http://storelocator.centurylinkapps.com/?fa=storelocator.viewMap&zip=34787&state=)

在这个网页中,如果我们输入邮政编码或选择状态,地图将给出该位置,

in div(< div id = map-container)



所以当我点击按钮时,我想在我的wpf弹出窗口中打开这个div。



怎么做?请任何帮助。

提前致谢。

tink 

tink 

推荐答案

使用WebBrowser控件会更容易,但这意味着用户将看到CenturyLink商店定位器地图页面。可以吗?

This will be easier to do using a WebBrowser control but that means that the user will see the CenturyLink Store locator map page. Is that okay?


这篇关于如何从网页打开特定div到WPF弹出窗口。使用WPF C#?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆