<Window x:Class="MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:SandPile"
        mc:Ignorable="d"
        Title="MainWindow" Height="631" Width="608" Closing="Window_Closing" Loaded="Window_Loaded" LocationChanged="Window_LocationChanged" SizeChanged="Window_SizeChanged">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"></RowDefinition>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>
        <Menu Grid.Row="0">
            <MenuItem Header="File">
                <MenuItem Header="Save Image As..." Name="MnuSaveImage" Click="MnuSaveImage_Click"></MenuItem>
                <Separator></Separator>
                <MenuItem Header="Exit" Name="MnuExit" Click="MnuExit_Click"></MenuItem>
            </MenuItem>
            <MenuItem Header="Show Settings" Name="MnuShowSettings" Click="MnuShowSettings_Click" IsCheckable="True"/>
        </Menu>
        <Canvas Grid.Row="1" Name="Canvas1">
            <Image Name="Image1"></Image>
        </Canvas>
    </Grid>
</Window>
