<!-- Example 19-2 -->
<Page
    x:Class="SimpleApp.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    IsTabStop="false">

    <Grid Background="#FFDEDEDE">

        <StackPanel HorizontalAlignment="Left" VerticalAlignment="Top"
                    Margin="50,50,0,0"
                    Orientation="Horizontal">
            <TextBlock Text="Nazwa użytkownika" FontSize="14.667" Foreground="Black"
                       Width="130" VerticalAlignment="Center" />
            <TextBox x:Name="usernameText"
                     Width="150"  Margin="10,10,10,10" />
        </StackPanel>

        <StackPanel HorizontalAlignment="Left" VerticalAlignment="Top"
                    Margin="50,100,0,0"
                    Orientation="Horizontal">
            <TextBlock Text="Hasło" FontSize="14.667" Foreground="Black"
                       Width="130" VerticalAlignment="Center" />
            <PasswordBox x:Name="passwordText"
                         Width="150" Margin="10,10,10,10" />
        </StackPanel>

    </Grid>
</Page>