123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <Page x:Class="HelpHelf.Pages.ResultPage"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:HelpHelf.Pages"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Title="ResultPage">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="60"/>
- <RowDefinition Height="80"/>
- <RowDefinition Height="1*"/>
- <RowDefinition Height="60"/>
- </Grid.RowDefinitions>
- <TextBlock VerticalAlignment="Center" FontFamily="Calibri"
- Foreground="#0B61A4" FontWeight="Bold"
- FontSize="26" HorizontalAlignment="Center"
- Text="Результат психологического тестирования"/>
- <StackPanel VerticalAlignment="Center" Margin="20,10,0,0"
- Grid.Row="1">
- <TextBlock FontFamily="Calibri" FontSize="20">
- <Run Text="Фамилия имя:" FontWeight="Bold"/>
- <Run Name="rName"/>
- </TextBlock>
- <TextBlock FontFamily="Calibri" FontSize="20">
- <Run Text="Дата:" FontWeight="Bold"/>
- <Run Name="rDate"/>
- </TextBlock>
- </StackPanel>
- <ListView ScrollViewer.CanContentScroll="False"
- ScrollViewer.HorizontalScrollBarVisibility="Disabled"
- Grid.Row="2" Name="listDisease"
- HorizontalContentAlignment="Stretch">
- <ListView.ItemTemplate>
- <DataTemplate>
- <Grid>
- <StackPanel>
- <TextBlock TextWrapping="WrapWithOverflow"
- FontFamily="Calibri" FontSize="20">
- <Run Text="Наименование заболевания:"
- FontWeight="Bold"/>
- <Run Text="{Binding DiseaseTable.Name}"/>
- </TextBlock>
- <TextBlock TextWrapping="WrapWithOverflow"
- FontFamily="Calibri" FontSize="20">
- <Run Text="Описание:"
- FontWeight="Bold"/>
- <Run Text="{Binding DiseaseTable.Description}"/>
- </TextBlock>
- <TextBlock TextWrapping="WrapWithOverflow"
- FontFamily="Calibri" FontSize="20">
- <Run Text="Лечение:"
- FontWeight="Bold"/>
- <Run Text="{Binding DiseaseTable.Medication}"/>
- </TextBlock>
- </StackPanel>
- </Grid>
- </DataTemplate>
- </ListView.ItemTemplate>
- </ListView>
- <Button Click="btnMenu_Click" Grid.Row="3" Height="40" Background="White"
- Padding="5" BorderBrush="#0B61A4" BorderThickness="3"
- FontFamily="Calibri" FontSize="20" Name="btnMenu"
- Width="230" Content="Вернуться в меню" Cursor="Hand"/>
- </Grid>
- </Page>
|