Tabl.xaml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <Page x:Class="Penis.Tabl"
  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:Penis"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="Tabl">
  10. <Grid Background="Lavender">
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="87*"/>
  13. <RowDefinition Height="87*"/>
  14. <RowDefinition Height="94*"/>
  15. <RowDefinition Height="92*" MinHeight="30"/>
  16. <RowDefinition Height="90*" MinHeight="30"/>
  17. </Grid.RowDefinitions>
  18. <Grid.ColumnDefinitions>
  19. <ColumnDefinition/>
  20. <ColumnDefinition/>
  21. <ColumnDefinition/>
  22. </Grid.ColumnDefinitions>
  23. <StackPanel Grid.Row="0" Grid.Column="0">
  24. <TextBlock Margin="9,9,0,0"
  25. TextWrapping="Wrap"
  26. HorizontalAlignment="Left" VerticalAlignment="Center"
  27. RenderTransformOrigin="0.602,0.975">
  28. <Button FontSize="19" Foreground="Gray" FontWeight="Bold" Click="Nazad1">Назад</Button>
  29. </TextBlock>
  30. </StackPanel>
  31. <StackPanel Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Grid.RowSpan="3">
  32. <DataGrid Name="Reks" AutoGenerateColumns="False" CanUserAddRows="False">
  33. <DataGrid.Columns>
  34. <DataGridTextColumn Header="Фамилия" Width="*" Binding="{Binding Path=Surname}" ></DataGridTextColumn>
  35. <DataGridTextColumn Header="Имя" Width="*" Binding="{Binding Path=Name}" ></DataGridTextColumn>
  36. <DataGridTextColumn Header="Отчество" Width="*" Binding="{Binding Path=Patronymic}" ></DataGridTextColumn>
  37. <DataGridTextColumn Header="Логин" Width="*" Binding="{Binding Path=Login}" ></DataGridTextColumn>
  38. <DataGridTextColumn Header="Пол" Width="*" Binding="{Binding Path=Gender.Gender1}" ></DataGridTextColumn>
  39. <DataGridTextColumn Header="Дата рождения" Width="*" Binding="{Binding Path=BirthDate}" ></DataGridTextColumn>
  40. </DataGrid.Columns>
  41. </DataGrid>
  42. </StackPanel>
  43. <StackPanel Grid.Row="5" Grid.Column="2">
  44. <TextBlock Margin="0,0,0,0"
  45. TextWrapping="Wrap"
  46. HorizontalAlignment="Center" VerticalAlignment="Center"
  47. RenderTransformOrigin="0.602,0.975">
  48. <Run FontSize="18" Foreground="Gray" FontWeight="Bold">Сортировка по полу</Run>
  49. </TextBlock>
  50. <TextBlock Margin="0,0,0,0"
  51. TextWrapping="Wrap"
  52. HorizontalAlignment="Center" VerticalAlignment="Center"
  53. RenderTransformOrigin="0.602,0.975">
  54. <Button FontSize="17" Foreground="Gray" FontWeight="Bold" Click="Men">Мужчины</Button>
  55. </TextBlock>
  56. <TextBlock Margin="0,0,0,0"
  57. TextWrapping="Wrap"
  58. HorizontalAlignment="Center" VerticalAlignment="Center"
  59. RenderTransformOrigin="0.602,0.975">
  60. <Button FontSize="17" Foreground="Gray" FontWeight="Bold" Click="Gerl" >Женщины</Button>
  61. </TextBlock>
  62. </StackPanel>
  63. <StackPanel Grid.Row="5" Grid.Column="0">
  64. <TextBlock Margin="0,0,0,0"
  65. TextWrapping="Wrap"
  66. HorizontalAlignment="Center" VerticalAlignment="Center"
  67. RenderTransformOrigin="0.602,0.975">
  68. <Run FontSize="18" Foreground="Gray" FontWeight="Bold">Сортировка по алфавиту</Run>
  69. </TextBlock>
  70. <TextBlock Margin="0,0,0,0"
  71. TextWrapping="Wrap"
  72. HorizontalAlignment="Center" VerticalAlignment="Center"
  73. RenderTransformOrigin="0.602,0.975">
  74. <Button FontSize="17" Foreground="Gray" FontWeight="Bold" Click="AZ">От А до Я</Button>
  75. </TextBlock>
  76. <TextBlock Margin="0,0,0,0"
  77. TextWrapping="Wrap"
  78. HorizontalAlignment="Center" VerticalAlignment="Center"
  79. RenderTransformOrigin="0.602,0.975">
  80. <Button FontSize="17" Foreground="Gray" FontWeight="Bold" Click="ZA" >От Я до А</Button>
  81. </TextBlock>
  82. </StackPanel>
  83. <StackPanel Grid.Row="5" Grid.Column="1">
  84. <TextBlock Margin="0,0,0,0"
  85. TextWrapping="Wrap"
  86. HorizontalAlignment="Center" VerticalAlignment="Center"
  87. RenderTransformOrigin="0.602,0.975">
  88. <Run FontSize="18" Foreground="Gray" FontWeight="Bold">Поиск по фамилии и имени</Run>
  89. </TextBlock>
  90. <TextBox Name="Poiskk">
  91. </TextBox>
  92. <TextBlock Margin="0,0,0,0"
  93. TextWrapping="Wrap"
  94. HorizontalAlignment="Center" VerticalAlignment="Center"
  95. RenderTransformOrigin="0.602,0.975">
  96. <Button FontSize="17" Foreground="Gray" FontWeight="Bold" Click=" Poisk">Поиск</Button>
  97. </TextBlock>
  98. </StackPanel>
  99. </Grid>
  100. </Page>