gpt4 book ai didi

c# - C# winforms 中的类似 Web 的桌面 GUI

转载 作者:太空狗 更新时间:2023-10-30 00:09:21 27 4
gpt4 key购买 nike

如何为我的 Winforms 桌面应用程序编写类似 GUI 的 Web?

例如,Visual Studio 2008 起始页。

最佳答案

选项:

  • 使用FlowLayoutPanelTableLayoutPanel控件以类似 Web 的样式布置普通 WinForm 控件。
  • 使用WebBrowser控制在您的 WinForm 中嵌入 HTML 位。
  • 使用ElementHost控制在您的 WinForm 中嵌入 WPF 位。
  • 对整个 UI 使用 WPF 而不是 WinForms。

关于c# - C# winforms 中的类似 Web 的桌面 GUI,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1432689/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com