Rav3nFK 2 жил өмнө
parent
commit
8dfe2bf691

+ 9 - 1
modulekz/App.xaml

@@ -4,6 +4,14 @@
              xmlns:local="clr-namespace:modulekz"
              StartupUri="MainWindow.xaml">
     <Application.Resources>
-         
+        <Style TargetType="Button" >
+            <Setter Property="Background" Value="#4ee9a2"/>
+        </Style>
+        <Style TargetType="TextBlock">
+            <Setter Property ="FontFamily" Value="Calibri"/>
+        </Style>
+        <Style TargetType="ListBox">
+            <Setter Property="Background" Value="#39f9"/>
+        </Style>
     </Application.Resources>
 </Application>

+ 3 - 3
modulekz/MainWindow.xaml

@@ -5,13 +5,13 @@
         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
         xmlns:local="clr-namespace:modulekz"
         mc:Ignorable="d"
-        Title="MainWindow" Height="450" Width="800">
-    <Grid>
+        Title="Книжный магазин 'Книжечка'" Height="450" Width="800">
+    <Grid Background="LightCyan">
         <Grid.RowDefinitions>
             <RowDefinition Height="50"/>
             <RowDefinition Height="*"/>
         </Grid.RowDefinitions>
-        <TextBlock Text="Книжечка" FontSize="40"/>
+        <TextBlock Text="Книжечка" FontSize="40" />
         <Frame x:Name="MainFrame" NavigationUIVisibility="Hidden" Grid.Row="1"/>
     </Grid>
 </Window>