<Window x:Class="Machinations.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:Machinations"
        xmlns:wpf="clr-namespace:Machinations.WPF"
        mc:Ignorable="d"
        Title="MachinationsDiagrams"
        DataContext="{Binding RelativeSource={RelativeSource Self}}"
        SizeToContent="WidthAndHeight"
        ResizeMode ="CanMinimize">

    <Grid KeyDown="OnKeyDown">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>
        <wpf:PaintingCanvas x:Name="PaintingCanvas"/>
        <local:ProgramControl x:Name="ProgramControl" Grid.Column="1"/>
    </Grid>
</Window>
