<Window x:Class="ZdarzeniaTrasowane.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:ZdarzeniaTrasowane"
        mc:Ignorable="d"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Button x:Name="button"
                HorizontalAlignment="Left" VerticalAlignment="Top"
                Margin="10,10,0,0"
                Width="300" Height="300"
                Click="button_Click" PreviewMouseDown="button_PreviewMouseDown">
            <!--<TextBlock Text="Przycisk" />-->
            <Button x:Name="button1"
                    HorizontalAlignment="Left" VerticalAlignment="Top"
                    Margin="0,0,0,0"
                    Width="250" Height="250"
                    Click="button_Click" PreviewMouseDown="button_PreviewMouseDown">
                <Button x:Name="button2"
                    HorizontalAlignment="Left" VerticalAlignment="Top"
                    Margin="0,0,0,0"
                    Width="200" Height="200"
                    Click="button_Click" PreviewMouseDown="button_PreviewMouseDown" />
            </Button>
        </Button>
        <ListBox x:Name="listBox" 
                 HorizontalAlignment="Right" VerticalAlignment="Top"
                 Margin="0,10,10,0"
                 Height="200" Width="420" />
        <CheckBox x:Name="checkBox" Content="Przerwij" 
                  HorizontalAlignment="Right" VerticalAlignment="Top"
                  Margin="0,220,10,0" />
    </Grid>
</Window>
