3-я лаба

This commit is contained in:
Programmist73 2023-03-06 17:34:14 +04:00
parent 7c7a620f78
commit eb2977e49f

View File

@ -6,6 +6,12 @@
xmlns:local="clr-namespace:TCPMI"
mc:Ignorable="d"
Title="Галлерея" MinHeight="435" MinWidth="710" MaxHeight="1080" MaxWidth="1920">
<Window.Resources>
<LinearGradientBrush x:Key="gradientStyle" StartPoint="0.5,1" EndPoint="0.5,0">
<GradientStop Color="#FF696B69" Offset="0" />
<GradientStop Color="#363636" Offset="1" />
</LinearGradientBrush>
</Window.Resources>
<Grid x:Name="MainGrid" Background="#363636">
<Grid.ColumnDefinitions>
<ColumnDefinition />
@ -16,40 +22,44 @@
<RowDefinition Height="10*"/>
</Grid.RowDefinitions>
<Border BorderBrush="#FFA500" BorderThickness="5" Grid.Column="0" Grid.Row="0" Grid.RowSpan="2">
<StackPanel Name="ButtonPanel" Background="#696969">
<Button Margin="30" Foreground="#FFA500" BorderBrush="#FFA500" BorderThickness="3" Background="#FF696B69">
<DockPanel LastChildFill="False" Name="ButtonPanel" Background="#696969">
<Button DockPanel.Dock="Top" HorizontalAlignment="Center" Margin="20 40 20 20" Padding="10 5 10 5" Foreground="#FFA500" BorderBrush="#FFA500" BorderThickness="3" Background="{StaticResource gradientStyle}">
Галерея
<Button.Resources>
<Style TargetType="Border">
<Setter Property="CornerRadius" Value="10"/>
</Style>
<SolidColorBrush x:Key="darkStyle" Color="Gray" />
</Button.Resources>
</Button>
<Button Margin="30" Foreground="#FFA500" BorderBrush="#FFA500" BorderThickness="3" Background="#FF696B69">
<Button DockPanel.Dock="Top" HorizontalAlignment="Center" Margin="20 50 20 20" Padding="10 5 10 5" Foreground="#FFA500" BorderBrush="#FFA500" BorderThickness="3" Background="{StaticResource gradientStyle}">
Слайд шоу
<Button.Resources>
<Style TargetType="Border">
<Setter Property="CornerRadius" Value="10"/>
</Style>
<SolidColorBrush x:Key="darkStyle" Color="Gray" />
</Button.Resources>
</Button>
<Button Margin="30" Foreground="#FFA500" BorderBrush="#FFA500" BorderThickness="3" Background="#FF696B69">
<Button DockPanel.Dock="Top" HorizontalAlignment="Center" Margin="20 50 20 20" Padding="10 5 10 5" Foreground="#FFA500" BorderBrush="#FFA500" BorderThickness="3" Background="{StaticResource gradientStyle}">
Редактор
<Button.Resources>
<Style TargetType="Border">
<Setter Property="CornerRadius" Value="10"/>
</Style>
<SolidColorBrush x:Key="darkStyle" Color="Gray" />
</Button.Resources>
</Button>
<Button Margin="30" Foreground="#FFA500" BorderBrush="#FFA500" BorderThickness="3" Background="#FF696B69">
<Button DockPanel.Dock="Top" HorizontalAlignment="Center" Margin="20 40 20 20" Padding="10 5 10 5" VerticalAlignment="Center" Foreground="#FFA500" BorderBrush="#FFA500" BorderThickness="3" Background="{StaticResource gradientStyle}">
Корзина
<Button.Resources>
<Style TargetType="Border">
<Setter Property="CornerRadius" Value="10"/>
</Style>
<SolidColorBrush x:Key="darkStyle" Color="Gray" />
</Button.Resources>
</Button>
</StackPanel>
</DockPanel>
</Border>
<Border Grid.Column="1" Grid.Row="0" BorderBrush="#FFA500" BorderThickness="5">
<WrapPanel HorizontalAlignment="Center" VerticalAlignment="Center">