摆脱 MDI UI 的灵感

发布于 2024-08-04 20:52:43 字数 315 浏览 4 评论 0原文

微软似乎希望我们停止使用 MDI,但如果更多的人像我一样,他们就会陷入困境。像 Word 和 Excel 这样的软件在没有 MDI 的情况下很容易创建,但我在没有 MDI 的情况下很难想出好的 UI。

有没有一个地方可以让我和其他像我一样的人看到如何在不使用 MDI 的情况下制作出色的 WinForms UI 的示例。我无意引发关于 MDI 利弊的辩论,我只是希望能有好的例子作为灵感。

编辑:我决定接受一个与问题并不真正相关的答案,因为它最终给了我关于如何继续的好主意。这可能不是问题的一般答案,但它确实对我有帮助。也欢迎进一步的建议...:)

Microsoft seems to want us to stop using the MDI, but if more people are like me they're stuck on how things used to be. Software like Word and Excel is simple to create without MDI, but I have trouble thinking out good UI without MDI.

Is there a place where I, and others like me, can see examples on how to make great WinForms UI without using MDI. It's not my intent to start a debate on MDI pros and cons, I just wish for good examples as inspiration.

Edit: I decided to accept an answer that wasn't really related to the question as it ended up giving me good ideas on how to proceed. It may not be the general answer to the question, but it did help me. Further suggestions is always welcomed as well... :)

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

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

发布评论

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

评论(4

所有深爱都是秘密 2024-08-11 20:52:43

我知道您提到了 WinForm,但是 Billy Hollis 在 WPF 中制作了很棒的 UI允许您管理多个文档和窗口(包括对话框),同时不是嵌入式表单的 MDI。

I know that you stated WinForm, but Billy Hollis made a great UI in WPF that allow you to manage multiple document and windows (including dialog) while not being a MDI in term of embedded form.

蓝戈者 2024-08-11 20:52:43

这在很大程度上取决于您想要在(前)MDI 表单中显示的内容。

  • 选项卡式表单(IE、Firefox 等)
  • 选项卡式工具 (Visual Studio)
  • 侧边栏 + 折叠面板 (Outlook)
  • 树形视图导航 (Explorer)

您可以对上述内容进行各种组合。

只是一个技术提示,以防您难以决定:将您的内容放在从公共基类或接口派生的 UserControls 上。使用专门的选项卡页和/或浮动窗口来托管这些控件。这使得切换变得非常容易,甚至让用户通过拖放来决定。

It depends a lot on what you want to show in your (ex-) MDI Forms.

  • Tabbed Forms (IE, Firefox etc)
  • Tabbed with tools (Visual Studio)
  • Sidebar + Collapsing panels (Outlook)
  • TreeView navigation (Explorer)

And you can make various combinations of the above.

Just a Tech Tip, in case you have trouble deciding: Put your content on UserControls, derived form a common baseclass or interface. Use specialized Tabpages and/or floating Windows to host those controls. This makes it very easy to switch, or even let the user decide through drag&dock.

栖竹 2024-08-11 20:52:43

如果您是面向文档的,那么选项卡式和窗格驱动的设计似乎是当前的主要范例。

如果它是商业风格的表单驱动应用程序,选项卡式或窗格驱动的设计可以工作,但可能不是理想的解决方案。对于这些,我越来越发现网络式导航范例效果最好。

要获得灵感,请查看其他操作系统上的软件以及最新一轮的所有 Microsoft 软件 - 从 Media Player 到 Office 2010 Suite 和 VS2010。另请考虑以下一些资源:

,UI 灵感几乎可以从任何地方获得。任何软件——即使是不相关的——都可能有一个可以适应您的需求的 UI 想法。即使是非软件;请记住,我们现在认为理所当然的许多 UI 范例都起源于物理世界。始终保持开放的眼睛和思想。

If you're document-oriented, tabbed- and pane-driven design seems to be the current major paradigm.

If it's a business-style forms-driven app, tabbed- or pane-driven design can work, but may not be the ideal solution. For those, I'm finding more and more that web-style navigation paradigms work best.

For inspiration, check out software on other operating systems, as well as the latest round of all the Microsoft software -- everything from Media Player through the Office 2010 Suite and VS2010. Consider some of the following resources as well:

Ultimately, UI inspiration can strike from just about anywhere. Any piece of software -- even unrelated -- may have a UI idea that can be adapted to your needs. Even non-software; remember that a lot of the UI paradigms we take for granted now originated in the physical world. Keep your eyes and mind open all the time.

梦魇绽荼蘼 2024-08-11 20:52:43

我只是希望有好的例子
灵感。

检查其他操作系统。 MDI(大部分)是 Windows 专用的拼凑。

I just wish for good examples as
inspiration.

Check other OSes. MDI is (mostly) a windows-only kludge.

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