【问题标题】:Is it possible to use default Windows 7 themes in Windows Embedded Standard 7?是否可以在 Windows Embedded Standard 7 中使用默认的 Windows 7 主题?
【发布时间】:2011-03-20 23:06:11
【问题描述】:

是否可以在 Windows Embedded Standard 7 上使用 Windows 7 默认主题(例如 Windows 7 Basic)?如果有,怎么做?

我相信主题包括常见的控件样式,即它们为您的进度条提供“Aero”外观,而不是经典的 Windows 95 风格。

我的问题是 WPF 应用程序从 Windows 7 工作站迁移到 Windows Embedded Standard 7 嵌入式设备。

【问题讨论】:

    标签: windows-7 embedded aero


    【解决方案1】:

    没关系,解决方法如下:

    Uri uri = new Uri("PresentationFramework.Aero;V3.0.0.0;31bf3856ad364e35;component\themes/aero.normalcolor.xaml", UriKind.Relative);

    Resources.MergedDictionaries.Add(Application.LoadComponent(uri) as ResourceDictionary);

    有一篇关于该主题的博客文章

    http://arbel.net/blog/archive/2006/11/03/Forcing-WPF-to-use-a-specific-Windows-theme.aspx

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-03-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-08-25
      • 2020-07-04
      • 1970-01-01
      相关资源
      最近更新 更多