使用 webbrowser C# winform 实现文件夹资源管理器

发布于 2024-07-14 19:05:40 字数 198 浏览 5 评论 0原文

我尝试使用网络浏览器创建文件夹资源管理器,但我遇到了一些问题,无法在网络上找到任何答案...所以我会感谢您的回答:

  1. 有人可以解释一下如何创建向上按钮(转到到父文件夹)?
  2. 如何像在 Windows 资源管理器中一样将资源管理器栏(左侧)添加到收藏夹或搜索?
  3. 如何实现撤消功能(取消删除文件和文件夹)

I' trying to use webbrowser to create a folder explorer and I have few problems that I could not find any answer on the web... so I’ll appreciate your answers:

  1. Can someone please explain how can I create the Up button (going to parent folder)?
  2. How can I the explorer bar (on the left) to favorites or search as in windows explorer?
  3. How can I implement the undo functionality (undelete files and folders)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

提赋 2024-07-21 19:05:40

我会做什么拦截对 url 的调用并从应用程序注入数据。 这样您就可以编写 HTML 并显示您想要的任何功能。

这个代码项目 WebBrowser 控件也可能很有用。 如果它允许您处理导航栏上的按钮单击事件,我不会感到惊讶。

What I would do intercept calls to a url and inject the data from your application. That way you can write HTML and display whatever functionality you want.

This Code Project WebBrowser Control might be useful too. I wouldn't be surprised if it allows you to handle the button click events on the navigation bar.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文