App.xaml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <Application x:Class="VirgoUI.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:VirgoUI.Client"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7. >
  8. <Application.Resources>
  9. <ResourceDictionary>
  10. <SolidColorBrush x:Key="MessagesErrorForegroundBrush" Color="Red"/>
  11. <SolidColorBrush x:Key="MessagesWarningForegroundBrush" Color="#FF8C00"/>
  12. <SolidColorBrush x:Key="MessagesInformationForegroundBrush" Color="Black"/>
  13. <SolidColorBrush x:Key="MessagesInformationBackgroundBrush" Color="#F0F0F0"/>
  14. <SolidColorBrush x:Key="MessagesHorizontalGridLinesBrush" Color="LightGray"/>
  15. <ResourceDictionary.MergedDictionaries>
  16. <ResourceDictionary Source="Styles/TextBox.xaml"/>
  17. <ResourceDictionary Source="Styles/Button.xaml"/>
  18. <ResourceDictionary Source="Styles/ComboBox.xaml"/>
  19. <ResourceDictionary Source="Styles/MenuItem.xaml"/>
  20. <ResourceDictionary Source="Styles/Listview.xaml"/>
  21. <ResourceDictionary Source="Styles/DataGrid.xaml"/>
  22. <ResourceDictionary Source="Styles/Tab.xaml"/>
  23. <ResourceDictionary Source="Styles/ListBox.xaml"/>
  24. <ResourceDictionary Source="Styles/TreeView.xaml"/>
  25. <ResourceDictionary Source="Styles/GroupBox.xaml"/>
  26. <ResourceDictionary Source="Styles/Skin.xaml"/>
  27. <ResourceDictionary>
  28. <local:Bootstrapper x:Key="start"></local:Bootstrapper>
  29. </ResourceDictionary>
  30. <ResourceDictionary Source="pack://application:,,,/VirgoUI;component/Themes/Generic.xaml"/>
  31. <ResourceDictionary Source="pack://application:,,,/VirgoUI;component/Themes/StringResources.en-US.xaml" />
  32. <!--<ResourceDictionary Source="pack://application:,,,/VirgoUI;component/Themes/StringResources.zh-CN.xaml" />-->
  33. <ResourceDictionary Source="/RecipeEditorControl;component/Resources/StringResources.zh-CN.xaml" />
  34. <ResourceDictionary Source="/RecipeEditorControl;component/Resources/StringResources.en-US.xaml" />
  35. </ResourceDictionary.MergedDictionaries>
  36. </ResourceDictionary>
  37. </Application.Resources>
  38. </Application>