<phone:PhoneApplicationPage 
    x:Class="ProLatWPA.Page1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="PageTitle" Text="Change Coordinate System" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}" FontSize="28" />
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Margin="12,54,12,0" Grid.RowSpan="2">
            <TextBlock Height="37" HorizontalAlignment="Left" Margin="10,36,0,0" Name="textBlock1" Text="Group:" VerticalAlignment="Top" Width="96" />
            <TextBlock Height="37" HorizontalAlignment="Left" Margin="10,0,0,0" Name="textDesc" Text="Input" VerticalAlignment="Top" Width="374" FontSize="24" />
            <TextBlock Height="37" HorizontalAlignment="Left" Margin="10,136,0,0" Name="textBlock2" Text="System:" VerticalAlignment="Top" Width="96" />
            <TextBlock Height="37" HorizontalAlignment="Left" Margin="10,238,0,0" Name="textBlock3" Text="Datum:" VerticalAlignment="Top" Width="96" />
            <TextBlock Height="37" HorizontalAlignment="Left" Margin="10,338,0,0" Name="textBlock4" Text="Units:" VerticalAlignment="Top" Width="96" />
            <CheckBox Content="Use Proj4" Height="66" HorizontalAlignment="Left" Margin="0,470,0,0" Name="checkProj4" VerticalAlignment="Top" Width="246" />
            <TextBox Height="184" HorizontalAlignment="Left" Margin="-2,530,0,0" Name="editProj4" Text="" VerticalAlignment="Top" Width="470" TextWrapping="Wrap" />
            <ListBox Height="94" HorizontalAlignment="Left" Margin="112,36,0,0" Name="listBoxGroup" VerticalAlignment="Top" Width="338" SelectionChanged="listBoxGroup_SelectionChanged" />
            <Button Content="Accept" Height="84" HorizontalAlignment="Left" Margin="293,438,0,0" Name="buttonDone" VerticalAlignment="Top" Width="163" Click="buttonDone_Click" />
            <ListBox Height="94" HorizontalAlignment="Left" Margin="112,136,0,0" Name="listBoxSystem" VerticalAlignment="Top" Width="338" />
            <ListBox Height="94" HorizontalAlignment="Left" Margin="112,238,0,0" Name="listBoxDatum" VerticalAlignment="Top" Width="338" />
            <ListBox Height="94" HorizontalAlignment="Left" Margin="112,338,0,0" Name="listBoxUnits" VerticalAlignment="Top" Width="338" />
        </Grid>
        <Grid.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#FF0046B4" Offset="0" />
                <GradientStop Color="Black" Offset="1" />
            </LinearGradientBrush>
        </Grid.Background>
    </Grid>
 
    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
