Add.xaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. <TextBox Background="#0000" HorizontalAlignment="Center" FontSize="32" FontWeight="Bold" Foreground="#4f4f4f">Добавление ОСАГО</TextBox>
  18. <GroupBox Header="Введите номер ОСАГО" Margin="10,0,10,0">
  19. <TextBox Name="NumberIns" Foreground="#4f4f4f"></TextBox>
  20. </GroupBox>
  21. <GroupBox Header="Введите дату конца действия ОСАГО" Margin="10,5,10,0">
  22. <DatePicker Name="DataEndIns" Foreground="#4f4f4f"></DatePicker>
  23. </GroupBox>
  24. <GroupBox Header="Выберите автомобиль" Margin="10,5,10,0">
  25. <ComboBox Name="Avto" Foreground="#4f4f4f"></ComboBox>
  26. </GroupBox>
  27. <GroupBox Header="Введите год выпуска автомобиля" Margin="10,5,10,0">
  28. <ComboBox Name="YearAvto" Foreground="#4f4f4f"></ComboBox>
  29. </GroupBox>
  30. <GroupBox Header="Введите цвет автомобиля" Margin="10,5,10,0">
  31. <ComboBox Name="AvtoColor" Foreground="#4f4f4f"></ComboBox>
  32. </GroupBox>
  33. </StackPanel>
  34. </StackPanel>
  35. <StackPanel Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Left" Orientation="Horizontal" Margin="10">
  36. <Border BorderThickness="1" CornerRadius="4" BorderBrush="#292929" Background="White" Width="90" Height="20">
  37. <Button Background="#0000" BorderBrush="#0000" Foreground="#292929" Content="Вернуться" Click="Revert"></Button>
  38. </Border>
  39. <Border BorderThickness="1" CornerRadius="4" BorderBrush="#292929" Background="White" Width="90" Height="20" Margin="10,0,0,0">
  40. <Button Background="#0000" BorderBrush="#0000" Foreground="#292929" Content="Добавить" Name="BtnAdd" ></Button>
  41. </Border>
  42. </StackPanel>
  43. </Grid>
  44. </Page>