Page1.xaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <Page x:Class="SSS.Page1"
  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:SSS"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="Page1">
  10. <Grid Background="Lavender">
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="0.75*"/>
  13. <RowDefinition/>
  14. <RowDefinition/>
  15. <RowDefinition Height="0.25*" MinHeight="30"/>
  16. <RowDefinition Height="0.25*" MinHeight="30"/>
  17. </Grid.RowDefinitions>
  18. <Grid.ColumnDefinitions>
  19. <ColumnDefinition/>
  20. <ColumnDefinition/>
  21. <ColumnDefinition/>
  22. </Grid.ColumnDefinitions>
  23. <StackPanel Grid.Row="1" Grid.Column="1">
  24. <TextBlock
  25. TextWrapping="Wrap"
  26. HorizontalAlignment="Center" VerticalAlignment="Center"
  27. RenderTransformOrigin="0.602,0.975">
  28. <Run FontSize="25" Foreground="Gray" FontWeight="Bold">Логин</Run>
  29. </TextBlock>
  30. <TextBox Name="Login">
  31. </TextBox>
  32. <TextBlock
  33. TextWrapping="Wrap"
  34. HorizontalAlignment="Center" VerticalAlignment="Center"
  35. RenderTransformOrigin="0.602,0.975">
  36. <Run FontSize="25" Foreground="Gray" FontWeight="Bold">Пароль</Run>
  37. </TextBlock>
  38. <PasswordBox Name="Pass">
  39. </PasswordBox>
  40. </StackPanel>
  41. <StackPanel Grid.Row="3" Grid.Column="1">
  42. <TextBlock
  43. TextWrapping="Wrap"
  44. HorizontalAlignment="Center" VerticalAlignment="Center"
  45. RenderTransformOrigin="0.602,0.975">
  46. <Button FontSize="25" Foreground="Gray" FontWeight="Bold" Click="GoVhod" >Войти</Button>
  47. </TextBlock>
  48. </StackPanel>
  49. <StackPanel Grid.Row="4" Grid.Column="1">
  50. <TextBlock
  51. TextWrapping="Wrap"
  52. HorizontalAlignment="Center" VerticalAlignment="Center"
  53. RenderTransformOrigin="0.602,0.975">
  54. <Button FontSize="25" Foreground="Gray" FontWeight="Bold" Click="Go" >Регистрация</Button>
  55. </TextBlock>
  56. </StackPanel>
  57. <TextBlock TextWrapping="Wrap" HorizontalAlignment ="Left" Margin="324,221,0,174" RenderTransformOrigin="0.088,0.684" Width="76">
  58. <TextBlock.RenderTransform>
  59. <TransformGroup>
  60. <ScaleTransform/>
  61. <SkewTransform/>
  62. <RotateTransform Angle="-0.348"/>
  63. <TranslateTransform X="39.739" Y="24.341"/>
  64. </TransformGroup>
  65. </TextBlock.RenderTransform>
  66. <Run
  67. FontSize="25" Foreground="Gray" FontWeight="Bold">Войти</Run>
  68. </TextBlock>
  69. </Grid>
  70. </Page>