删除 OpenFileDialog C# 中的位置栏

发布于 2024-08-29 20:01:51 字数 14 浏览 1 评论 0原文

有办法做到吗?

Is there a way to do it?

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

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

发布评论

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

评论(2

偷得浮生 2024-09-05 20:01:51

看看这个:自定义您的打开文件对话框

编辑:

http://msdn.microsoft.com/en-us/magazine /cc300434.aspx

针对打开文件进行编码时
Win32 API 中的通用对话框,您
可以设置隐藏位置的样式
酒吧。但与其他功能一样
Win32通用对话框,此设置
似乎迷失在
迁移到 .NET Framework

创建一个通用对话框从来没有
比在中更容易
框架,但这种简单性就来了
以牺牲一定的灵活性为代价。
另外,在托管代码中没有
扩展对话框布局的方法
带有额外的控件。

Check this out : Customize Your Open File Dialog

EDIT:

http://msdn.microsoft.com/en-us/magazine/cc300434.aspx

When coding against the Open File
common dialog in the Win32 API, you
can set a style to hide the places
bar
. But like other features of the
Win32 common dialogs, this setting
seems to have gotten lost in the
migration to the .NET Framework
.
Creating a common dialog has never
been easier than it is in the
Framework, but this simplicity comes
at the cost of some flexibility. In
addition, in managed code there is no
way to extend the layout of the dialog
with additional controls.

暮倦 2024-09-05 20:01:51

.net 框架不支持对现有对话框进行实质性更改。
但是像这样这样的解决方案可以帮助您。

There is no support in the .net framework for substantial changes to the existing dialogs.
However solutions like this can help you.

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