123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <Page x:Class="school.pageEditService"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:school"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Title="pageEditService">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"></RowDefinition>
- <RowDefinition></RowDefinition>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0" Margin="5">
- <StackPanel Orientation="Horizontal">
- <Button Name="BtnBack" Click="BtnBackClick" Style="{StaticResource usuallyButtonNoFill}" FontSize="15" Width="80">Назад</Button>
- <TextBlock Name="TBHeader" Style="{StaticResource usuallyTextBlockHeader}" FontSize="20" Margin="25 2">Добавление услуги</TextBlock>
- </StackPanel>
- <Button Name="BtnEdit" Click="BtnEditClick" Width="150" Style="{StaticResource usuallyButtonFill}" HorizontalAlignment="Right">Создать</Button>
- </Grid>
- <Grid Grid.Row="1" Margin="5">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"></ColumnDefinition>
- <ColumnDefinition></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid Grid.Column="0" Margin="5 0">
- <StackPanel>
- <Image Name="ImgService" Source="\Resource\noPhoto.png" Width="150" Height="150" Stretch="Uniform" VerticalAlignment="Top" Margin="10"/>
- <Button Name="BtnAddImage" Click="BtnAddImageClick" Style="{StaticResource usuallyButton}" Margin="10" >Выбрать главное фото</Button>
- <Button Name="BtnAddOtherImage" Click="BtnAddOtherImageClick" Style="{StaticResource usuallyButton}" Margin="10 -5">Дополнительное фото</Button>
- </StackPanel>
- </Grid>
- <Grid Grid.Column="1" Margin="15 0">
- <Grid.RowDefinitions>
- <RowDefinition Height="60"></RowDefinition>
- <RowDefinition Height="60"></RowDefinition>
- <RowDefinition Height="50"></RowDefinition>
- <RowDefinition Height="50"></RowDefinition>
- <RowDefinition Height="50"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto"></ColumnDefinition>
- <ColumnDefinition Width="Auto"></ColumnDefinition>
- <ColumnDefinition Width="Auto"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <TextBlock Grid.Row="0" Grid.Column="0" Style="{StaticResource usuallyTextBlock}" HorizontalAlignment="Right">Название</TextBlock>
- <TextBlock Grid.Row="1" Grid.Column="0" Style="{StaticResource usuallyTextBlock}" HorizontalAlignment="Right">Описание</TextBlock>
- <TextBlock Grid.Row="2" Grid.Column="0" Style="{StaticResource usuallyTextBlock}" HorizontalAlignment="Right" VerticalAlignment="Center" >Стоимость</TextBlock>
- <TextBlock Grid.Row="3" Grid.Column="0" Style="{StaticResource usuallyTextBlock}" HorizontalAlignment="Right" VerticalAlignment="Center" >Скидка</TextBlock>
- <TextBlock Grid.Row="4" Grid.Column="0" Style="{StaticResource usuallyTextBlock}" HorizontalAlignment="Right" VerticalAlignment="Center" >Длительность</TextBlock>
- <TextBox Name="TBNameService" Tag="Введите название" Grid.Row="0" Grid.Column="1" Style="{StaticResource usuallyTextBlox}" HorizontalAlignment="Left" Margin="10 5 0 5"/>
- <TextBox Name="TBDescriptionService" Tag="Введите описание" Grid.Row="1" Grid.Column="1" Style="{StaticResource usuallyTextBlox}" HorizontalAlignment="Left" Margin="10 5"/>
- <TextBox Name="TBPriceService" Tag="Введите стоимость" Grid.Row="2" Grid.Column="1" Style="{StaticResource usuallyTextBlox}" Height="25" HorizontalAlignment="Left" Margin="10 0"/>
- <TextBox Name="TBDiscountService" Tag="Введите скидку" Grid.Row="3" Grid.Column="1" Style="{StaticResource usuallyTextBlox}" Height="25" HorizontalAlignment="Left" Margin="10 0"/>
- <TextBox Name="TBTimeServise" Tag="Введите длительность в мин." Grid.Row="4" Grid.Column="1" Style="{StaticResource usuallyTextBlox}" Height="25" HorizontalAlignment="Left" Margin="10 0"/>
- <TextBlock Grid.Row="2" Grid.Column="2" Style="{StaticResource usuallyTextBlock}" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0 10">₽</TextBlock>
- <TextBlock Grid.Row="3" Grid.Column="2" Style="{StaticResource usuallyTextBlock}" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0 10">%</TextBlock>
- <TextBlock Grid.Row="4" Grid.Column="2" Style="{StaticResource usuallyTextBlock}" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0 10">минут</TextBlock>
- </Grid>
- </Grid>
- </Grid>
- </Page>
|