AddRegistration.xaml 1.5 KB

12345678910111213141516171819202122232425262728
  1. <Window x:Class="Learn.AddRegistration"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:Learn"
  7. mc:Ignorable="d"
  8. Title="AddRegistration" Height="450" Width="800">
  9. <Grid>
  10. <StackPanel Width="200" HorizontalAlignment="Center" VerticalAlignment="Center">
  11. <TextBlock HorizontalAlignment="Center">Название услуги</TextBlock>
  12. <Border BorderBrush="Black" BorderThickness="1">
  13. <TextBlock Name="ServName"/>
  14. </Border>
  15. <TextBlock HorizontalAlignment="Center">Длительность в минутах</TextBlock>
  16. <Border BorderBrush="Black" BorderThickness="1">
  17. <TextBlock Name="Duration"/>
  18. </Border>
  19. <TextBlock HorizontalAlignment="Center">Клиент</TextBlock>
  20. <ComboBox Name="Client"/>
  21. <TextBlock HorizontalAlignment="Center">Дата</TextBlock>
  22. <DatePicker Name="DateServ"/>
  23. <TextBlock HorizontalAlignment="Center">Время</TextBlock>
  24. <TextBox Name="TimeServ"/>
  25. <Button Click="MakeReg" Margin="0,10,0,0">Создать запись</Button>
  26. </StackPanel>
  27. </Grid>
  28. </Window>