TestPage.xaml 2.0 KB

12345678910111213141516171819202122232425
  1. <Page x:Class="PsychoTest.Pages.TestPage"
  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="TestPage">
  10. <Grid Background="#00A08A">
  11. <StackPanel>
  12. <Button Click="ExitOfTest" Margin="20,20,0,0" Template="{DynamicResource ButtonTemplate1}" Background="#C98100" FontSize="40" Width="220" Height="70" HorizontalAlignment="Left" Content="Выйти"/>
  13. <TextBlock Name="NameOfTest" FontSize="40" Text="Название теста" HorizontalAlignment="Center"/>
  14. <TextBlock Margin="0,100,0,0" Name="QuestionContent" FontSize="40" Text="Текст вопроса" HorizontalAlignment="Center"/>
  15. <Button Margin="0,30,0,0" Click="TotalAgree" Template="{DynamicResource ButtonTemplate1}" FontSize="35" Content="Полностью согласен" Width="570" Height="70" Background="#FFA400"/>
  16. <Button Margin="0,15,0,0" Click="PartAgree" Template="{DynamicResource ButtonTemplate1}" FontSize="35" Content="Частично согласен" Width="570" Height="70" Background="#FFA400"/>
  17. <Button Margin="0,15,0,0" Click="NotSure" Template="{DynamicResource ButtonTemplate1}" FontSize="35" Content="Не уверен" Width="570" Height="70" Background="#FFA400"/>
  18. <Button Margin="0,15,0,0" Click="PartDisagree" Template="{DynamicResource ButtonTemplate1}" FontSize="35" Content="Частично несогласен" Width="570" Height="70" Background="#FFA400"/>
  19. <Button Margin="0,15,0,0" Click="TotalDisagree" Template="{DynamicResource ButtonTemplate1}" FontSize="35" Content="Полностью несогласен" Width="570" Height="70" Background="#FFA400"/>
  20. </StackPanel>
  21. </Grid>
  22. </Page>