now hc styles can be referenced in window.resource

by the way, supported multiple themes at the same time, It may be related to #574
This commit is contained in:
NaBian committed 2021-05-30 01:47:30 +08:00
1 parent 3be68c3010
commit d997aee5f7
23 files changed
+161 -129

No files matched your search

@@ -8,7 +8,7 @@ namespace HandyControl.Properties.Langs
{
public class LangProvider : INotifyPropertyChanged
{
internal static LangProvider Instance => ResourceHelper.GetResource<LangProvider>("Langs");
internal static LangProvider Instance => ResourceHelper.GetResourceInternal<LangProvider>("Langs");
private static string CultureInfoStr;
@@ -27,7 +27,7 @@ namespace HandyControl.Properties.Langs
{
public class LangProvider : INotifyPropertyChanged
{
internal static LangProvider Instance => ResourceHelper.GetResource<LangProvider>("Langs");
internal static LangProvider Instance => ResourceHelper.GetResourceInternal<LangProvider>("Langs");
private static string CultureInfoStr;
@@ -81,4 +81,4 @@ namespace HandyControl.Properties.Langs
<#}#>
}
}
}