﻿<Window x:Class="KockaTest.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:KockaTest"
        mc:Ignorable="d"
        Title="Nezabudni zapnut kocku" Height="350" Width="525">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal" Grid.Column="0" Grid.Row="0"  >
            <Button Click="button_zacni_merat" Content="Meraj"/>
            <Button Click="button_zmaz_obrazovku" Content=" Zmaz obrazovku"/>
            <Label Content="interval (ms): "></Label>
            <TextBox x:Name="intervalTB" Width="80"/>
            <Label Content="Pocet merani: "></Label>
            <TextBox x:Name="pocetTB" Width="80"/>
            <Label Content="Mierka X: "></Label>
            <TextBox x:Name="MierkaXTB" Width="80"/>
            <Label Content="Mierka Y: "></Label>
            <TextBox x:Name="MierkaYTB" Width="80"/>
        </StackPanel>
        <Canvas Grid.Column="0" Grid.Row="1">
            <Polyline Stroke="Blue" StrokeThickness="1.5" x:Name="Ciara"/>
        </Canvas>
    </Grid>
</Window>
