Minor Bug

Mar 5, 2010 at 5:43 PM

In ThemeManager class

public
static ResourceDictionary GetThemeResourceDictionary(string theme)
{
...
Assembly assembly = Assembly.LoadFrom("WPF.Themes.dll");

fails when the directory is changed.

This works better

Assembly assembly = Assembly.LoadFrom(System.IO.Path.Combine(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),"WPF.Themes.dll"));


Anyway thanks for you good work. Love it!