12345678910111213141516171819202122232425262728293031323334353637 |
- <Window x:Class="SSS.redphoto"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:SSS"
- mc:Ignorable="d"
- Title="redphoto" Height="450" Width="800">
- <Grid Background="Lavender">
- <Grid.RowDefinitions>
- <RowDefinition Height="*"></RowDefinition>
- <RowDefinition Height="35"></RowDefinition>
- </Grid.RowDefinitions>
- <StackPanel Grid.Row="0" HorizontalAlignment="Center" VerticalAlignment="Center">
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
- <Image Width="200" Height="200" Name="FF" Source="Photo.jpg"></Image>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,10,0,0">
- <Border BorderThickness="2" CornerRadius="7" Background="White" Width="30" Height="30">
- <Button FontSize="21" Foreground="Gray" FontWeight="Bold" Content="-" Click="BackPhoto"></Button>
- </Border>
- <Border BorderThickness="2" CornerRadius="7" Background="White" Height="30" Margin="5,0,0,0">
- <Button Click="SelectThis">Изменить фото на выбранное</Button>
- </Border>
- <Border BorderThickness="2" CornerRadius="7" Background="White" Width="30" Height="30" Margin="5,0,0,0">
- <Button FontSize="21" Foreground="Gray" FontWeight="Bold" Content="+" Click="NextPhoto"></Button>
- </Border>
- </StackPanel>
- </StackPanel>
- <StackPanel Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="3,0,0,0">
- <Border BorderThickness="2" CornerRadius="7" BorderBrush="#bababa" Background="White" Width="100" Height="30">
- <Button Content="Назад" FontSize="16" Click="Back"></Button>
- </Border>
- </StackPanel>
- </Grid>
- </Window>
|