<Page
    x:Class="SimplePageNavigation.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:SimplePageNavigation"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <StackPanel>
            <TextBlock Text="Strona główna"
                       FontSize="48"
                       HorizontalAlignment="Center"
                       Margin="48" />
            
            <TextBox Name="txtbox"
                     Width="320"
                     HorizontalAlignment="Center"
                     Margin="48" />
            
            <Button Content="Przejdź do drugiej strony"
                    HorizontalAlignment="Center"
                    Margin="48"
                    Click="OnGotoButtonClick" />
            
            <Button Name="forwardButton" 
                    Content="Dalej"
                    HorizontalAlignment="Center"
                    Margin="48"
                    Click="OnForwardButtonClick" />

            <Button Name="backButton" 
                    Content="Wstecz"
                    HorizontalAlignment="Center"
                    Margin="48"
                    Click="OnBackButtonClick" />
        </StackPanel>
    </Grid>
</Page>
