<Window x:Class="MainDemoWPF.SnapForm"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="SnapForm" Height="300" Width="300">
    <Grid>
        <Image Margin="5,8,5,6" Name="SnapImage" Stretch="Fill" SizeChanged="SnapImage_SizeChanged" />
    </Grid>
</Window>
