Ejemplo n.º 1
0
		public void AddResource(ResourceDescription description)
		{
			try
			{
				if (Application.Current != null)
					Application.Current.Resources.MergedDictionaries.Add(new ResourceDictionary() { Source = description.Source });
			}
			catch { }
		}
Ejemplo n.º 2
0
 public void AddResource(ResourceDescription description)
 {
     Application.Current.Resources.MergedDictionaries.Add(new ResourceDictionary() { Source = description.Source });
 }