PsychoPage.xaml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <Page x:Class="PsychoTest.Pages.PsychoPage"
  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:PsychoTest.Pages"
  7. mc:Ignorable="d"
  8. d:DesignHeight="1024" d:DesignWidth="1440"
  9. Title="PsychoPage">
  10. <Grid Background="#00A08A">
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="*"/>
  13. <RowDefinition Height="*"/>
  14. <RowDefinition Height="4*"/>
  15. </Grid.RowDefinitions>
  16. <Button Click="ExitToAuth" Margin="20,0,0,0" Content="Выйти" FontSize="35" Background="#C98100" Template="{StaticResource ButtonTemplate1}" HorizontalAlignment="Left" Height="100" Width="195"/>
  17. <Button Click="AddPatients" Margin="0,0,20,0" Background="#FFA400" Template="{StaticResource ButtonTemplate1}" HorizontalAlignment="Right" Height="160" Width="195">
  18. <Button.Content>
  19. <Image Width="173" Height="154" Source="/Resources/people_icon.png"/>
  20. </Button.Content>
  21. </Button>
  22. <TextBlock FontSize="45" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Row="1" Name="Fullname"/>
  23. <TextBlock HorizontalAlignment="Center" VerticalAlignment="Bottom" Text="Ваши пацинеты" FontSize="40" FontWeight="Bold" Grid.Row="1"/>
  24. <ListView Margin="0,10,0,10" Name="PateintList" Grid.Row="2" Background="#0000" BorderThickness="0">
  25. <ListView.ItemsPanel>
  26. <ItemsPanelTemplate>
  27. <StackPanel Width="1400"/>
  28. </ItemsPanelTemplate>
  29. </ListView.ItemsPanel>
  30. <ListView.ItemTemplate>
  31. <DataTemplate>
  32. <TreeView BorderBrush="#0000" Background="#0000" FontSize="40">
  33. <TreeViewItem BorderBrush="#0000" Background="#0000" Uid="{Binding User_id}" Loaded="FullnamePatient">
  34. <ListView BorderBrush="#0000" Background="#0000" Uid="{Binding User_id}" Loaded="UserTestResults">
  35. <ListView.ItemsPanel>
  36. <ItemsPanelTemplate>
  37. <StackPanel Width="1400"/>
  38. </ItemsPanelTemplate>
  39. </ListView.ItemsPanel>
  40. <ListView.ItemTemplate>
  41. <DataTemplate>
  42. <StackPanel Orientation="Horizontal">
  43. <TextBlock FontSize="35" Uid="{Binding Id_result}" Loaded="TestName"/>
  44. <TextBlock FontSize="35" Uid="{Binding Id_result}" Margin="10,0,0,0" Loaded="TestResult"/>
  45. </StackPanel>
  46. </DataTemplate>
  47. </ListView.ItemTemplate>
  48. </ListView>
  49. </TreeViewItem>
  50. </TreeView>
  51. </DataTemplate>
  52. </ListView.ItemTemplate>
  53. </ListView>
  54. </Grid>
  55. </Page>