<Window x:Name="Startup" x:Class="co_zpracování.MainWindow"
        DataContext="{Binding RelativeSource={RelativeSource Self}}"
        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:co_zpracování"
        mc:Ignorable="d"
        Title="Slo soubory zpracování" Height="693.443" Width="756.322">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Menu Grid.Row="0">
            <MenuItem Header="Soubor">
                <MenuItem Header="Nastavit heslo Kontakty.MDB" Click="MenuItem_Click"/>
            </MenuItem>
        </Menu>    
    <Grid Margin="0,0,2,0" Grid.Row="1">        
        <Button x:Name="stopButton" HorizontalAlignment="Left" Margin="10,37,0,0" VerticalAlignment="Top" Width="81" Height="26" Click="stopButton_Click" Content="Stop"/>
        <Button x:Name="startButton" Content="Zpracuj" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="81" Click="startButton_Click"/>
        <TextBox x:Name="TextBox_Id" HorizontalAlignment="Left" Height="23" Margin="628,37,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="108" Text="klapka27256"/>
        <PasswordBox x:Name="passwordBox" PasswordChar="*" HorizontalAlignment="Left" Margin="628,68,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.9,-0.1" Width="108" Password=""/>
        <Button x:Name="Zdroj_Button" Content="Zdroj" HorizontalAlignment="Left" Margin="16,137,0,0" VerticalAlignment="Top" Width="75"/>
        <Button x:Name="Zpracovani_Button" Content="Zpracování" HorizontalAlignment="Left" Margin="16,173,0,0" VerticalAlignment="Top" Width="75"/>
        <TextBox x:Name="TextBox_Zdroj" HorizontalAlignment="Left" Height="23" Margin="96,137,0,0" TextWrapping="Wrap" Text="D:\klapka\ZpracDat\SoubZUloziste" VerticalAlignment="Top" Width="272"/>
        <Button x:Name="Zpracovane_Button" Content="Zpracované" HorizontalAlignment="Left" Margin="384,137,0,0" VerticalAlignment="Top" Width="75"/>
        <Button x:Name="Nezpracovane_Button" Content="Nezpracované" HorizontalAlignment="Left" Margin="384,173,0,0" VerticalAlignment="Top" Width="75"/>
        <TextBox x:Name="TextBox_Zpracovane" HorizontalAlignment="Left" Height="23" Margin="464,136,0,0" TextWrapping="Wrap" Text="D:\klapka\ZpracDat\SoubZUloziste\SloSoubory" VerticalAlignment="Top" Width="272"/>
        <TextBox x:Name="TextBox_Nezpracovane" HorizontalAlignment="Left" Height="23" Margin="464,172,0,0" TextWrapping="Wrap" Text="D:\klapka\ZpracDat\SoubZUloziste\Nezpracované" VerticalAlignment="Top" Width="272"/>
        <TextBox x:Name="TextBox_Zpracovani" HorizontalAlignment="Left" Height="23" Margin="96,173,0,0" TextWrapping="Wrap" Text="D:\klapka\ZpracDat\SoubZUloziste\Temp" VerticalAlignment="Top" Width="272"/>
        <TextBox x:Name="TextBox_PocetAsync" HorizontalAlignment="Left" Height="23" Margin="205,89,0,0" TextWrapping="Wrap" Text="5" VerticalAlignment="Top" Width="120" PreviewTextInput="TextBox_PocetAsync_PreviewTextInput" PreviewKeyDown="TextBox_PocetAsync_PreviewKeyDown" MaxLength="2"/>
        <Label x:Name="labelAsync" Content="Počet zpracovávaných audittrailů" HorizontalAlignment="Left" Margin="16,86,0,0" VerticalAlignment="Top"/>
        <RichTextBox x:Name="Log1" HorizontalAlignment="Left" Height="398" Margin="10,201,0,0" VerticalAlignment="Top" Width="726" IsReadOnly="True" ScrollViewer.VerticalScrollBarVisibility="Auto">
            <FlowDocument>
            </FlowDocument>
        </RichTextBox>
        <Button x:Name="test" Content="Test" HorizontalAlignment="Left" Margin="440,50,0,0" VerticalAlignment="Top" Width="75" Click="test_Click"/>
        <Button x:Name="CycleButton" Content="Auto zpracuj" HorizontalAlignment="Left" Margin="105,10,0,0" VerticalAlignment="Top" Width="75" Click="CycleButton_Click"/>
        <Button x:Name="saveLogButton" Content="Uložit" HorizontalAlignment="Left" Margin="588,610,0,0" VerticalAlignment="Top" Width="75" Click="saveLogButton_Click"/>
        <Button x:Name="finishButton" Content="Dokončit" HorizontalAlignment="Left" Margin="105,38,0,0" VerticalAlignment="Top" Width="75" Height="25" Click="finishButton_Click"/>
        <CheckBox x:Name="CheckboxLogFormat" Content="rtf formát" HorizontalAlignment="Left" Margin="668,613,0,0" VerticalAlignment="Top" IsChecked="True"/>
    </Grid>
    </Grid>
</Window>
