Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 22nd, 2012  |  syntax: None  |  size: 0.35 KB  |  views: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. public App()
  2. {
  3.  
  4.     ResourceDictionary dict = new ResourceDictionary();
  5.     dict.Source = new Uri("Themes/ExpressionDark.xaml",UriKind.Relative);
  6.     Resources.MergedDictionaries.Add(dict);
  7.  
  8.     //this.Resources.MergedDictionaries.Add(Application.LoadComponent( new Uri("Themes/ExpressionDark.xaml", UriKind.Relative)) as ResourceDictionary);
  9.  
  10. }