App.xaml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <Application x:Class="Write_erase.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:Write_erase"
  5. StartupUri="MainWindow.xaml">
  6. <Application.Resources>
  7. <Style x:Key="GridStyle" TargetType="Grid">
  8. <Setter Property="Background" Value="#76e383"/>
  9. </Style>
  10. <Style x:Key="TextBlockStyle" TargetType="TextBlock">
  11. <Setter Property="FontFamily" Value="Comic Sans MS"/>
  12. <Setter Property="FontSize" Value="14"/>
  13. </Style>
  14. <Style x:Key="AutorizeTBStyle" TargetType="TextBox">
  15. <Style.Setters>
  16. <Setter Property="Background" Value="#498c51"/>
  17. <Setter Property="BorderBrush" Value="Gray"/>
  18. <Setter Property="Foreground" Value="White"/>
  19. <Setter Property="FontSize" Value="20"/>
  20. <Setter Property="FontFamily" Value="Comic Sans MS"/>
  21. </Style.Setters>
  22. <Style.Triggers>
  23. <Trigger Property="IsMouseOver" Value="True">
  24. <Setter Property="Cursor" Value="Wait"/>
  25. </Trigger>
  26. </Style.Triggers>
  27. </Style>
  28. <Style x:Key="AutorizePBStyle" TargetType="PasswordBox">
  29. <Style.Setters>
  30. <Setter Property="Background" Value="#498c51"/>
  31. <Setter Property="BorderBrush" Value="Gray"/>
  32. <Setter Property="Foreground" Value="White"/>
  33. <Setter Property="FontSize" Value="20"/>
  34. <Setter Property="FontFamily" Value="Comic Sans MS"/>
  35. </Style.Setters>
  36. <Style.Triggers>
  37. <Trigger Property="IsMouseOver" Value="True">
  38. <Setter Property="Cursor" Value="Wait"/>
  39. </Trigger>
  40. </Style.Triggers>
  41. </Style>
  42. <Style x:Key="GBAutorizeStyle" TargetType="GroupBox">
  43. <Setter Property="FontSize" Value="20"/>
  44. <Setter Property="FontFamily" Value="Comic Sans MS"/>
  45. </Style>
  46. <Style x:Key="RadioButtonStyle" TargetType="RadioButton">
  47. <Setter Property="FontSize" Value="17"/>
  48. <Setter Property="FontFamily" Value="Comic Sans MS"/>
  49. </Style>
  50. </Application.Resources>
  51. </Application>