<Page x:Class="Penis.Page1"
      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:Penis"
      mc:Ignorable="d" 
      d:DesignHeight="450" d:DesignWidth="800"
      Title="Page1">
    <Grid Background="Lavender">
        <Grid.RowDefinitions>
            <RowDefinition Height="0.75*"/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition Height="0.25*" MinHeight="30"/>
            <RowDefinition Height="0.25*" MinHeight="30"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
            <ColumnDefinition/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <StackPanel Grid.Row="1" Grid.Column="1">
            <TextBlock 
           TextWrapping="Wrap" 
            HorizontalAlignment="Center" VerticalAlignment="Center"
            RenderTransformOrigin="0.602,0.975"> 
    <Run FontSize="25" Foreground="Gray" FontWeight="Bold">Логин</Run>
            </TextBlock>
            <TextBox Name="Login">

            </TextBox>
            <TextBlock 
            TextWrapping="Wrap"
             HorizontalAlignment="Center" VerticalAlignment="Center"
            RenderTransformOrigin="0.602,0.975"> 
    <Run FontSize="25" Foreground="Gray" FontWeight="Bold">Пароль</Run>
            </TextBlock>
            <PasswordBox Name="Pass">

            </PasswordBox>
        </StackPanel>

        <StackPanel Grid.Row="3" Grid.Column="1">
            <TextBlock 
            TextWrapping="Wrap"
             HorizontalAlignment="Center" VerticalAlignment="Center"
            RenderTransformOrigin="0.602,0.975">  
    <Button FontSize="25" Foreground="Gray" FontWeight="Bold" Click="GoVhod" >Войти</Button>
            </TextBlock>

        </StackPanel>
        <StackPanel  Grid.Row="4" Grid.Column="1">
            <TextBlock
            TextWrapping="Wrap"
             HorizontalAlignment="Center" VerticalAlignment="Center"
            RenderTransformOrigin="0.602,0.975">  
    <Button FontSize="25" Foreground="Gray" FontWeight="Bold" Click="Go" >Регистрация</Button>
            </TextBlock>

        </StackPanel>



        <TextBlock TextWrapping="Wrap" HorizontalAlignment ="Left" Margin="324,221,0,174" RenderTransformOrigin="0.088,0.684" Width="76">
            <TextBlock.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform Angle="-0.348"/>
                    <TranslateTransform X="39.739" Y="24.341"/>
                </TransformGroup>
            </TextBlock.RenderTransform> 
    <Run 
         FontSize="25" Foreground="Gray" FontWeight="Bold">Войти</Run>
        </TextBlock>
    </Grid>
</Page>

