App.xaml 1.1 KB

1234567891011121314151617
  1. <Application x:Class="ClashDotNetFramework.App"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:local="clr-namespace:ClashDotNetFramework"
  5. xmlns:models="clr-namespace:ClashDotNetFramework.Models"
  6. StartupUri="MainWindow.xaml">
  7. <Application.Resources>
  8. <ResourceDictionary>
  9. <ResourceDictionary.MergedDictionaries>
  10. <ResourceDictionary Source="/Templates/ContextMenuStyles.xaml"/>
  11. <ResourceDictionary Source="/Templates/ToggleSwitchStyles.xaml"/>
  12. <models:LanguageResourceDictionary EnglishSource="/Languages/en-US.xaml" ChineseSource="/Languages/zh-CN.xaml" JapaneseSource="/Languages/ja-JP.xaml"/>
  13. <models:ThemeResourceDictionary ClassicSource="/Themes/Classic.xaml" ModernSource="/Themes/Modern.xaml" DarkSource="/Themes/Dark.xaml"/>
  14. </ResourceDictionary.MergedDictionaries>
  15. </ResourceDictionary>
  16. </Application.Resources>
  17. </Application>