<Page x:Class="Sessioa.Pages.Autorization"
      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:Sessioa.Pages"
      mc:Ignorable="d" 
      d:DesignHeight="450" d:DesignWidth="800"
      Title="Autorization"
      FontFamily="Comic Sans MS">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="0.2*"/>
            <RowDefinition/>
            <RowDefinition Height="0.2*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="2*"/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <Button Name="Mode" Content="Режим просмотра" Margin="40,30,40,-10" Style="{StaticResource ButtonSt}" Grid.Column="1" MaxHeight="60" MinHeight="30" MaxWidth="400" Click="Mode_Click"/>
        <Border BorderBrush="#76E383" BorderThickness="5" CornerRadius="30" Grid.Row="1" Grid.Column="1" Margin="20" MaxHeight="400" MaxWidth="550">
            <StackPanel Orientation="Vertical" VerticalAlignment="Center">
                <TextBlock Text="Авторизация" Style="{StaticResource TextBlockMain}"/>
                <TextBox Name="Login" DataContext="Логин" Style="{StaticResource TextBox}" Margin="50,10"/>
                <TextBox Name="Password" DataContext="Пароль" Style="{StaticResource TextBox}" Margin="50,10"/>
                <Button Name="Sign" Content="Войти" Style="{StaticResource ButtonAct}" Margin="100,0" MaxHeight="60" MaxWidth="400" Click="Sign_Click"/>
            </StackPanel>
        </Border>
    </Grid>
</Page>
