App.xaml 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. <Application x:Class="ПодготовкаКДемо1.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:ПодготовкаКДемо1"
  5. StartupUri="MainWindow.xaml">
  6. <Application.Resources>
  7. <Style x:Key="TextBlock" TargetType="TextBlock">
  8. <Setter Property="FontFamily" Value="Comic Sans MS"/>
  9. <Setter Property="Margin" Value="5"/>
  10. </Style>
  11. <Style x:Key="TextBox" TargetType="TextBox">
  12. <Setter Property="FontFamily" Value="Comic Sans MS"/>
  13. <Setter Property="Margin" Value="5"/>
  14. </Style>
  15. <Style x:Key="ComboBox" TargetType="ComboBox">
  16. <Setter Property="FontFamily" Value="Comic Sans MS"/>
  17. <Setter Property="Margin" Value="5"/>
  18. </Style>
  19. <Style x:Key="CheckBox" TargetType="CheckBox">
  20. <Setter Property="FontFamily" Value="Comic Sans MS"/>
  21. <Setter Property="Margin" Value="5"/>
  22. </Style>
  23. <Style x:Key="RadioButton" TargetType="RadioButton">
  24. <Setter Property="FontFamily" Value="Comic Sans MS"/>
  25. <Setter Property="Margin" Value="5"/>
  26. </Style>
  27. <Style x:Key="Button" TargetType="Button">
  28. <Setter Property="FontFamily" Value="Comic Sans MS"/>
  29. <Setter Property="Margin" Value="5"/>
  30. <Setter Property="Background" Value ="#445c93"/>
  31. <Setter Property="Foreground" Value ="#ffffff"/>
  32. </Style>
  33. </Application.Resources>
  34. </Application>