lab3
This commit is contained in:
parent
f17cb84c47
commit
c19fa91c12
@ -6,7 +6,24 @@
|
|||||||
xmlns:local="clr-namespace:TSChMI"
|
xmlns:local="clr-namespace:TSChMI"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="Барышев Дмитрий ПИбд-23" MinHeight="400" MinWidth="600">
|
Title="Барышев Дмитрий ПИбд-23" MinHeight="400" MinWidth="600">
|
||||||
<Grid>
|
|
||||||
|
<Window.Resources>
|
||||||
|
<SolidColorBrush x:Key="BorderColor" Color="#7F00FF"/>
|
||||||
|
|
||||||
|
<Style TargetType="Button">
|
||||||
|
<Setter Property="Template">
|
||||||
|
<Setter.Value>
|
||||||
|
<ControlTemplate TargetType="Button">
|
||||||
|
<Border BorderBrush="{DynamicResource {x:Static SystemColors.MenuBarBrushKey}}" BorderThickness="2" CornerRadius="5">
|
||||||
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
||||||
|
</Border>
|
||||||
|
</ControlTemplate>
|
||||||
|
</Setter.Value>
|
||||||
|
</Setter>
|
||||||
|
</Style>
|
||||||
|
</Window.Resources>
|
||||||
|
|
||||||
|
<Grid Background="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="20*"></RowDefinition>
|
<RowDefinition Height="20*"></RowDefinition>
|
||||||
<RowDefinition Height="170*"></RowDefinition>
|
<RowDefinition Height="170*"></RowDefinition>
|
||||||
@ -19,11 +36,11 @@
|
|||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
<Border Grid.Column="1" Grid.Row="0">
|
<Border Grid.Column="1" Grid.Row="0">
|
||||||
<Label Content="Kanye West(Ye)" Grid.Column="1" Grid.Row ="0" HorizontalAlignment="Center"/>
|
<Label x:Name="label" Content="Kanye West(Ye)" Grid.Column="1" Grid.Row ="0" HorizontalAlignment="Center"/>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<Border Grid.Column="0" Grid.Row="1">
|
<Border Grid.Column="0" Grid.Row="1" MaxWidth="200">
|
||||||
<Image Grid.Column="0" Margin="5,0,10,0" Grid.Row="1"/>
|
<Image Source="/Source/ye1.png" Margin="5,0,10,0"/>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<Border Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch" MaxWidth =" 200">
|
<Border Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch" MaxWidth =" 200">
|
||||||
@ -46,13 +63,13 @@
|
|||||||
|
|
||||||
<Border Grid.Column="0" Grid.Row = "2">
|
<Border Grid.Column="0" Grid.Row = "2">
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<Button x:Name ="btnPlay" Content="Play" HorizontalAlignment="Center" Padding="15" Margin="25,29,25,29"/>
|
<Button x:Name ="btnPlay" Content=" Play " Margin="29,29,25,29" />
|
||||||
<Button x:Name ="btnPause" Content="Pause" HorizontalAlignment="Center" Padding="12" Margin="10,29,0,29"/>
|
<Button x:Name ="btnPause" Content=" Pause " Margin="0,29,0,29"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<Border Grid.Column="1" Grid.Row="2">
|
<Border Grid.Column="1" Grid.Row="2" MaxWidth="200">
|
||||||
<Image Margin="5,5,5,0" />
|
<Image Source =" Source\ye2.jpg" Margin="5,5,5,0" />
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<Border Grid.Column="2" Grid.Row="2">
|
<Border Grid.Column="2" Grid.Row="2">
|
||||||
|
BIN
TSChMI/Source/ye1.png
Normal file
BIN
TSChMI/Source/ye1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 872 KiB |
BIN
TSChMI/Source/ye2.jpg
Normal file
BIN
TSChMI/Source/ye2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 47 KiB |
@ -94,5 +94,11 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="App.config" />
|
<None Include="App.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Resource Include="Source\ye2.jpg" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Resource Include="Source\ye1.png" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
</Project>
|
</Project>
|
Loading…
Reference in New Issue
Block a user