Лабараторная работа 3

This commit is contained in:
IlyasValiulov 2024-10-04 15:28:20 +04:00
parent c50e2dead7
commit 941d2a2535

View File

@ -8,11 +8,12 @@
Title="MainWindow" Height="500" Width="800" MinHeight="450" MinWidth="600" Background="LightYellow"> Title="MainWindow" Height="500" Width="800" MinHeight="450" MinWidth="600" Background="LightYellow">
<Window.Resources> <Window.Resources>
<SolidColorBrush x:Key="BrushBlack" Color="Black"/>
<SolidColorBrush x:Key="BrushWheat" Color="Wheat"/>
<Style x:Key="buttonDesicion" TargetType="Button"> <Style x:Key="buttonDesicion" TargetType="Button">
<Setter Property="Background" Value="Wheat"/>
<Setter Property="Foreground" Value="Black"/>
<Setter Property="BorderBrush" Value="Black"/>
<Setter Property="FontSize" Value="18"/> <Setter Property="FontSize" Value="18"/>
<Setter Property="Margin" Value="20"/>
</Style> </Style>
</Window.Resources> </Window.Resources>
@ -35,8 +36,8 @@
<CheckBox FontSize="16" Margin="10" Content="Я согласен на обработку данных"/> <CheckBox FontSize="16" Margin="10" Content="Я согласен на обработку данных"/>
</StackPanel> </StackPanel>
<Button Style="{StaticResource buttonDesicion}" MinHeight="50" MinWidth="50" Margin="20" Grid.Row="3" Grid.Column="1">Принять</Button> <Button Style="{StaticResource buttonDesicion}" Background="{StaticResource BrushWheat}" MinHeight="50" MinWidth="50" Grid.Row="3" Grid.Column="1">Принять</Button>
<Button Style="{StaticResource buttonDesicion}" MinHeight="50" MinWidth="50" Margin="20" Grid.Row="3" Grid.Column="2">Отмена</Button> <Button Style="{StaticResource buttonDesicion}" Background="{StaticResource BrushWheat}" MinHeight="50" MinWidth="50" Grid.Row="3" Grid.Column="2">Отмена</Button>
<Label Content="Установка" Grid.Row="0" Grid.Column="0" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/> <Label Content="Установка" Grid.Row="0" Grid.Column="0" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>