PageAddNote.xaml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <Page x:Class="School.PageAddNote"
  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:School"
  7. mc:Ignorable="d"
  8. d:MinHeight="500" d:MinWidth="800"
  9. Title="Запись">
  10. <Grid>
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="1*"/>
  13. <RowDefinition Height="1*"/>
  14. <RowDefinition Height="4*"/>
  15. <RowDefinition Height="2*"/>
  16. <RowDefinition Height="1*"/>
  17. </Grid.RowDefinitions>
  18. <Grid Grid.Row="0">
  19. <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Запись клиента на услугу" Style="{StaticResource HeaderText}"/>
  20. </Grid>
  21. <Grid Grid.Row="1">
  22. <StackPanel HorizontalAlignment="Center">
  23. <TextBlock Name="Title" FontSize="18"></TextBlock>
  24. </StackPanel>
  25. </Grid>
  26. <Grid Grid.Row="2">
  27. <StackPanel>
  28. <GroupBox Header="Выберите клиента на запись" Width="400">
  29. <ComboBox Name="FullName">
  30. </ComboBox>
  31. </GroupBox>
  32. <GroupBox Header="Введие дату записи" Width="400">
  33. <DatePicker Name="Date"></DatePicker>
  34. </GroupBox>
  35. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
  36. <GroupBox Header="Введите время начала" >
  37. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
  38. <TextBox Name="TimeStart" Width="200" TextChanged="TimeStart_TextChanged"/>
  39. </StackPanel>
  40. </GroupBox>
  41. <GroupBox Header="Время конца" >
  42. <TextBlock Name="TimeEnd"></TextBlock>
  43. </GroupBox>
  44. </StackPanel>
  45. </StackPanel>
  46. </Grid>
  47. <StackPanel Grid.Row="3" Grid.ColumnSpan="2" Margin="10 0 10 0">
  48. <TextBlock Text="Комментарий" Style="{StaticResource FontFamilyText}"/>
  49. <TextBox Name="Comment" Height="70"/>
  50. </StackPanel>
  51. <Grid Grid.Row="4">
  52. <StackPanel HorizontalAlignment="Left">
  53. <Button Name="Add" Template="{StaticResource Button}" Click="Add_Click">Записать</Button>
  54. </StackPanel>
  55. <StackPanel HorizontalAlignment="Right">
  56. <Button Name="Home" Template="{StaticResource Button}" Click="Home_Click">На главную</Button>
  57. </StackPanel>
  58. </Grid>
  59. </Grid>
  60. </Page>