AddEditPage.xaml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <Page x:Class="Khaustov_ProbniyDE.AddEditPage"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:Khaustov_ProbniyDE"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="AddEditPage">
  10. <Grid>
  11. <Grid.ColumnDefinitions>
  12. <ColumnDefinition Width="200"/>
  13. <ColumnDefinition Width="*"/>
  14. </Grid.ColumnDefinitions>
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="100"/>
  17. <RowDefinition Height="*"/>
  18. <RowDefinition Height="*"/>
  19. <RowDefinition Height="*"/>
  20. <RowDefinition Height="*"/>
  21. <RowDefinition Height="*"/>
  22. <RowDefinition Height="*"/>
  23. </Grid.RowDefinitions>
  24. <TextBlock Grid.Column="0" Text="Услуга" Grid.Row="1" HorizontalAlignment="Right" VerticalAlignment="Center"></TextBlock>
  25. <TextBlock Grid.Column="0" Grid.Row="2" Text="Изображение" HorizontalAlignment="Right" VerticalAlignment="Center"></TextBlock>
  26. <TextBlock Grid.Column="0" Grid.Row="3" Text="Длительность" HorizontalAlignment="Right" VerticalAlignment="Center"></TextBlock>
  27. <TextBlock Grid.Column="0" Grid.Row="4" Text="Стоимость" HorizontalAlignment="Right" VerticalAlignment="Center"></TextBlock>
  28. <TextBlock Grid.Column="0" Grid.Row="5" Text="Скидка" HorizontalAlignment="Right" VerticalAlignment="Center"></TextBlock>
  29. <TextBox Grid.Column="1" Grid.Row="1" Text="{Binding Наименование_услуги}" Height="30" Width="250" HorizontalAlignment="Left"/>
  30. <TextBox Grid.Column="1" Grid.Row="2" Text="{Binding Главное_изображение}" Height="30" Width="250" HorizontalAlignment="Left"/>
  31. <TextBox Grid.Column="1" Grid.Row="3" Text="{Binding Длительность}" Height="30" Width="250" HorizontalAlignment="Left"/>
  32. <TextBox Grid.Column="1" Grid.Row="4" Text="{Binding Стоимость}" Height="30" Width="250" HorizontalAlignment="Left"/>
  33. <TextBox Grid.Column="1" Grid.Row="5" Text="{Binding Действующая_скидка}" Height="30" Width="250" HorizontalAlignment="Left"/>
  34. <Button Content="Сохранить" Grid.ColumnSpan="2" Grid.Row="6" Name="BtnSave" Click="BtnSave_Click" Margin="312,18,312,5" Height="Auto"></Button>
  35. </Grid>
  36. </Page>