示例#1
0
 public static void ApplyThemeResource(Theme.Theme t)
 {
     RemoveResource(Theme.Theme.DirectoryName);
     Application.Current.Resources.MergedDictionaries.Add(t.GetResourceDictionary());
 }