Esempio n. 1
0
 protected override void OnStartup(StartupEventArgs e)
 {
     Picture.CopyFile();
     ConfigSetting.ConfigSettingApplicationXmlFilePath = Soft.AppXmlPath;
     //设置整个项目的资源主题
     Current.AddResourceDictionary(@"/Style/TestDictionary.xaml").AYUI();
     Current.AddResourceDictionary(@"/Style/ListBox.xaml").AYUI();
     Current.AddResourceDictionary(@"/Style/Button.xaml").AYUI();
     base.OnStartup(e);
 }
Esempio n. 2
0
 protected override void OnStartup(StartupEventArgs e)
 {
     //设置整个项目的资源主题
     Current.AddResourceDictionary(@"/Style/TestDictionary.xaml").AYUI();
     base.OnStartup(e);
 }
Esempio n. 3
0
 public static void AddResourceDictionary(Uri resoucePath) => Current.AddResourceDictionary(resoucePath);