<!-- Page1.xaml -->
<Page x:Class="PageState.Page1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:PageState" 
    Title="Guess"
    WindowTitle="Guess A Number!"
    KeepAlive="True"> <!-- keep the page between navigations -->
  <StackPanel Margin="10">
    <Label>Please guess a number between 0 and 2147483647:</Label>
    <TextBox Name="guessBox" />
    <TextBlock>
      (shh... the answer is <TextBlock Name="answerBox" />.)
    </TextBlock>
    <TextBlock HorizontalAlignment="Right">
      <Hyperlink NavigateUri="Page2.xaml">Guess</Hyperlink>
    </TextBlock>
  </StackPanel>
</Page>
