Add.xaml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <Page x:Class="SneakersSkakunov.Add"
  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:SneakersSkakunov"
  7. mc:Ignorable="d"
  8. d:DesignHeight="720" d:DesignWidth="1080"
  9. Title="Add">
  10. <Grid Background="#f5f5f5">
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="*"></RowDefinition>
  13. <RowDefinition Height="60"></RowDefinition>
  14. </Grid.RowDefinitions>
  15. <StackPanel Grid.Row="0">
  16. <StackPanel>
  17. <TextBlock Background="#0000" HorizontalAlignment="Center" FontSize="32" FontWeight="Bold" Foreground="#4f4f4f">Добавление в каталог</TextBlock>
  18. <TextBlock Foreground="#4f4f4f" Margin="10,0,10,0">Выберите модель</TextBlock>
  19. <ComboBox Name="Brands" Margin="10,5,10,0" Foreground="#4f4f4f"></ComboBox>
  20. <TextBlock Foreground="#4f4f4f" Margin="10,0,10,0">Введите цвет</TextBlock>
  21. <TextBox Name="Clrs" Margin="10,5,10,0" Foreground="#4f4f4f"></TextBox>
  22. <TextBlock Foreground="#4f4f4f" Margin="10,0,10,0">Введите цену</TextBlock>
  23. <TextBox Name="Prices" Margin="10,5,10,0" Foreground="#4f4f4f"></TextBox>
  24. <TextBlock Foreground="#4f4f4f" Margin="10,0,10,0">Введите размер</TextBlock>
  25. <TextBox Name="Sizes" Margin="10,5,10,0" Foreground="#4f4f4f"></TextBox>
  26. </StackPanel>
  27. </StackPanel>
  28. <StackPanel Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Left" Orientation="Horizontal" Margin="10">
  29. <Border BorderThickness="1" CornerRadius="4" BorderBrush="#292929" Background="White" Width="90" Height="20">
  30. <Button Background="#0000" BorderBrush="#0000" Foreground="#292929" Content="Вернуться" Click="Revert"></Button>
  31. </Border>
  32. <Border BorderThickness="1" CornerRadius="4" BorderBrush="#292929" Background="White" Width="90" Height="20" Margin="10,0,0,0">
  33. <Button Background="#0000" BorderBrush="#0000" Foreground="#292929" Content="Добавить" Name="BtnAdd" Click="BtnAdd_Click" ></Button>
  34. </Border>
  35. </StackPanel>
  36. </Grid>
  37. </Page>