AddEditServicePage.xaml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <Page x:Class="Practic.Pages.AddEditServicePage"
  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:Practic.Pages"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="AddEditServicePage" Background="White">
  10. <Grid>
  11. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
  12. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
  13. <StackPanel Orientation="Horizontal">
  14. <TextBlock Text="Название "></TextBlock>
  15. <TextBox Width="147" x:Name="TBoxTitle"></TextBox>
  16. </StackPanel>
  17. <StackPanel Orientation="Horizontal">
  18. <TextBlock Text="Стоимость "></TextBlock>
  19. <TextBox Width="145" x:Name="TBoxCost"></TextBox>
  20. </StackPanel>
  21. <StackPanel Orientation="Horizontal">
  22. <TextBlock Text="Длит-ть(мин) "></TextBlock>
  23. <TextBox Width="131" x:Name="TBoxDuration"></TextBox>
  24. </StackPanel>
  25. <StackPanel Orientation="Horizontal">
  26. <TextBlock Text="Описание "></TextBlock>
  27. <TextBox Width="148" x:Name="TBoxDescription" TextWrapping="Wrap" Height="100"></TextBox>
  28. </StackPanel>
  29. <StackPanel Orientation="Horizontal">
  30. <TextBlock Text="Скидка "></TextBlock>
  31. <TextBox Width="151" x:Name="TBoxDiscount"></TextBox>
  32. </StackPanel>
  33. </StackPanel>
  34. <StackPanel VerticalAlignment="Center">
  35. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Column="1">
  36. <Border Margin="5" Height="175" Width="200" BorderBrush="Black" BorderThickness="1">
  37. <Image x:Name="ImageService"></Image>
  38. </Border>
  39. <Button Height="30" Width="200" Margin="5" x:Name="BtnSelectImage" Click="BtnSelectImage_Click" Background="Orange" Content="Выбрать фотографию"></Button>
  40. <Button Height="30" Width="200" Margin="5" x:Name="BtnSave" Click="BtnSave_Click" Background="Wheat" Content="Сохранить"></Button>
  41. </StackPanel>
  42. </StackPanel>
  43. </StackPanel>
  44. </Grid>
  45. </Page>