<Window x:Class="Gremlin.GremlinUI.Login"
        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"
        mc:Ignorable="d"
        Title="Gremlin Login" Height="130" Width="350"
        WindowStyle="None"
        ResizeMode="NoResize"
        SizeToContent="Height" 
        WindowStartupLocation="CenterScreen">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition/>
            <RowDefinition Height="30"/>
        </Grid.RowDefinitions>
        <Label x:Name="lblChoose" Grid.Row="0" Content="Willkommen zu Gremlin. Bitte logge dich ein." VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontSize="14" Grid.RowSpan="2" VerticalAlignment="Top" FontWeight="Bold" />
        <Grid Grid.Row="1" Height="Auto">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="3*"/>
            </Grid.ColumnDefinitions>
            <StackPanel x:Name="Fields" Grid.Row="1" Grid.Column="0" Orientation="Vertical" >
                <TextBlock x:Name="lblUserName" Text="Login Name" TextWrapping="Wrap" Margin="10,5,10,5" TextAlignment="Right"/>
                <TextBlock x:Name="lblPassword" Text="Passwort" TextWrapping="Wrap" TextAlignment="Right" Margin="10,5,10,5"/>
            </StackPanel>
            <StackPanel x:Name="Data" Grid.Row="1" Grid.Column="1" Orientation="Vertical" >
                <TextBox x:Name="tbUserName" Text="woitsche" TextWrapping="Wrap" Margin="10,4,10,4" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" />
                <PasswordBox x:Name="tbPassword" Margin="10,4,10,4" Password="" PasswordChar="*" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" />
            </StackPanel>
        </Grid>
        <Grid Grid.Row="4" Height="Auto">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <StackPanel x:Name="Beenden" Grid.Row="1" Grid.Column="0" Orientation="Vertical" >
                <Button x:Name="btnBeenden" Content="Beenden" Margin="10,5,10,5" IsCancel="True" Click="BtnBeenden_Click"/>
            </StackPanel>
            <StackPanel x:Name="LoginStack" Grid.Row="1" Grid.Column="1" Orientation="Vertical" >
                <Button x:Name="btnLogin" Content="Login" Margin="10,5,10,5" IsDefault="True" Click="BtnLogin_Click" FontWeight="Bold"/>
            </StackPanel>
        </Grid>
    </Grid>
</Window>
