<phone:PhoneApplicationPage
    x:Class="FindIT.MainPage"
    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"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="PortraitOrLandscape" Orientation="Landscape"
    shell:SystemTray.IsVisible="True" OrientationChanged="PhoneApplicationPage_OrientationChanged" Loaded="PhoneApplicationPage_Loaded_1">

    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="669"/>
            <RowDefinition Height="0"/>
            <RowDefinition/>
        </Grid.RowDefinitions>

        <Canvas x:Name="canvas" Width="Auto" Height="Auto" MinWidth="480" MinHeight="480" Margin="-105,-30,-115,145" RenderTransformOrigin="0.5,0.5"/>

        <Popup x:Name="popup1" IsOpen="false" HorizontalAlignment="Center">
            <StackPanel>
                <TextBlock x:Name="text_popup" TextWrapping="Wrap" FontSize="24" Width="180" HorizontalAlignment="Center">

                </TextBlock>
                <Button Content="Ок" Width="80" Click="Button_Click" HorizontalAlignment="Center"/>
            </StackPanel>
        </Popup>

    </Grid>

</phone:PhoneApplicationPage>