<Window x:Class="WPF_WS_leb.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WPF_WS_leb"
        mc:Ignorable="d"
        Title="Окно Авторизации" Height="500" Width="400">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="223*"/>
            <RowDefinition Height="67*"/>
            <RowDefinition Height="65*"/>
            <RowDefinition Height="71*"/>
            <RowDefinition Height="43*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="251*"/>
            <ColumnDefinition Width="302*"/>
            <ColumnDefinition Width="239*"/>
        </Grid.ColumnDefinitions>
        <Button Content="Войти" Grid.Column="1" Grid.Row="4" BorderBrush="DarkRed" Margin="10,2,10,10" FontSize="14" Click="Button_Click" />
        <TextBox x:Name="TextBox1" Grid.Row="1" Grid.Column="1" Text="Login" FontSize="14" GotFocus="TextBox_GotFocus" Height="30" TextChanged="TextBox1_TextChanged" Margin="0,22,0,9"/>
        <TextBox x:Name="TextBox2" Grid.Row="2" Grid.Column="1" Text="Password" FontSize="14" Margin="0,18,0,10" Height="30" GotFocus="TextBox2_GotFocus" TextChanged="TextBox2_TextChanged" />
        <Label Content="Имя Пользователя" Grid.Column="1" HorizontalAlignment="Left" Grid.Row="1" VerticalAlignment="Top" Height="26" Width="150"/>
        <Label Content="Пароль" Grid.Column="1" HorizontalAlignment="Left" Grid.Row="2" VerticalAlignment="Top" Height="28" Width="150"/>
        <Image Grid.Column="1" Margin="0,38,0,20" Source="Resources\ktc_logo.png" Stretch="Fill" Height="150" Width="150"/>
        <ComboBox Grid.Column="1" HorizontalAlignment="Left" Margin="0,10,0,0" Grid.Row="3" VerticalAlignment="Top" Width="150" Height="29"/>
    </Grid>
</Window>
