12345678910111213141516171819202122232425262728293031323334353637 |
- <Page x:Class="Khaustov_ProbniyDE.AddEditPage"
- 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:Khaustov_ProbniyDE"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Title="AddEditPage">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="100"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <TextBlock Grid.Column="0" Text="Услуга" Grid.Row="1" HorizontalAlignment="Right" VerticalAlignment="Center"></TextBlock>
- <TextBlock Grid.Column="0" Grid.Row="2" Text="Изображение" HorizontalAlignment="Right" VerticalAlignment="Center"></TextBlock>
- <TextBlock Grid.Column="0" Grid.Row="3" Text="Длительность" HorizontalAlignment="Right" VerticalAlignment="Center"></TextBlock>
- <TextBlock Grid.Column="0" Grid.Row="4" Text="Стоимость" HorizontalAlignment="Right" VerticalAlignment="Center"></TextBlock>
- <TextBlock Grid.Column="0" Grid.Row="5" Text="Скидка" HorizontalAlignment="Right" VerticalAlignment="Center"></TextBlock>
- <TextBox Grid.Column="1" Grid.Row="1" Text="{Binding Наименование_услуги}" Height="30" Width="250" HorizontalAlignment="Left"/>
- <TextBox Grid.Column="1" Grid.Row="2" Text="{Binding Главное_изображение}" Height="30" Width="250" HorizontalAlignment="Left"/>
- <TextBox Grid.Column="1" Grid.Row="3" Text="{Binding Длительность}" Height="30" Width="250" HorizontalAlignment="Left"/>
- <TextBox Grid.Column="1" Grid.Row="4" Text="{Binding Стоимость}" Height="30" Width="250" HorizontalAlignment="Left"/>
- <TextBox Grid.Column="1" Grid.Row="5" Text="{Binding Действующая_скидка}" Height="30" Width="250" HorizontalAlignment="Left"/>
- <Button Content="Сохранить" Grid.ColumnSpan="2" Grid.Row="6" Name="BtnSave" Click="BtnSave_Click" Margin="312,18,312,5" Height="Auto"></Button>
- </Grid>
- </Page>
|