<Window
        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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" x:Name="MainWindow"
            x:Class="MainWindow"
        TextElement.Foreground="{DynamicResource MaterialDesignBody}"
        TextElement.FontWeight="Regular"
        TextElement.FontSize="13"
        TextOptions.TextFormattingMode="Ideal" 
        TextOptions.TextRenderingMode="Auto"        
        Background="{DynamicResource MaterialDesignPaper}"
        FontFamily="{DynamicResource MaterialDesignFont}"
        mc:Ignorable="d"
        Title="Dokumentáció készítő" Height="370" Width="500" FontSize="13" WindowStyle="None" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" SizeToContent="WidthAndHeight" MinHeight="370" MaxHeight="370">
    <Grid x:Name="MainGrid" HorizontalAlignment="Left" Height="374"  VerticalAlignment="Top" Width="500">
        <Grid.RowDefinitions>
            <RowDefinition Height="14*"/>
            <RowDefinition Height="173*"/>
        </Grid.RowDefinitions>
        <Label Content="Dokumentáció készítő" Height="22" VerticalAlignment="Top" FontSize="14" MouseDown="Label_MouseDown" HorizontalAlignment="Left" Width="462"/>
        <TabControl Style="{StaticResource MaterialDesignTabControl}" Margin="0,27,0,2" HorizontalAlignment="Left" Width="490" Grid.RowSpan="2">
            <TabControl.Background>
                <ImageBrush/>
            </TabControl.Background>
            <TabItem Header="DOKSI készítő" FontSize="13" Width="140" >
                <Grid HorizontalAlignment="Left" Width="500" Margin="0,0,-33,-6" Height="288" VerticalAlignment="Top">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <Button x:Name="CreateDocument" Content="Dokumentáció készítése" HorizontalAlignment="Left" Margin="334,156,0,0" VerticalAlignment="Top" Width="156" RenderTransformOrigin="0.785,1.101"/>
                    <ListBox x:Name="ListBox1" Height="52" Margin="10,198,136,0" VerticalAlignment="Top" Background="{x:Null}" BorderThickness="2" BorderBrush="#FFECE0E0"/>
                    <CheckBox x:Name="PDFCheckBox" HorizontalAlignment="Left" Margin="10,39,0,0" VerticalAlignment="Top" Content="PDF"/>
                    <CheckBox x:Name="DXFCheckBox" HorizontalAlignment="Left" Margin="11,62,0,0" VerticalAlignment="Top" Content="DXF" RenderTransformOrigin="0.763,0.741"/>
                    <CheckBox x:Name="TIFFCheckbox" HorizontalAlignment="Left" Margin="11,108,0,0" VerticalAlignment="Top" Content="TIFF"/>
                    <CheckBox x:Name="XLSCheckbox" HorizontalAlignment="Left" Margin="10,85,0,0" VerticalAlignment="Top" Content="XLS"/>

                    <StackPanel Margin="0,10,10,139" HorizontalAlignment="Right" Width="156">
                        <Label Content="Gyártási dokumentáció" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        <RadioButton x:Name="NamingSyntaxStefani" Content="Stefani"/>
                        <Label Content="Leadási dokumentáció" HorizontalAlignment="Left" VerticalAlignment="Top" RenderTransformOrigin="0.469,-0.417"/>
                        <RadioButton x:Name="NamingSyntaxAudi" Content="Audi"/>
                        <RadioButton x:Name="NamingSyntaxHanon" Content="Hanon"/>
                    </StackPanel>
                    <Label Content="Dokumentáció típusa" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" FontSize="13"/>
                    <CheckBox x:Name="PDFOsszeCheckBox" HorizontalAlignment="Left" Margin="369,267,0,0" VerticalAlignment="Top" Content="PDF összefűzése"/>
                    <CheckBox x:Name="NeedPdfStroke" HorizontalAlignment="Left" Margin="369,244,0,0" VerticalAlignment="Top" Content="Stroke All Fonts" RenderTransformOrigin="0.703,6.833"/>
                    <CheckBox x:Name="AutomaticFolderSelect" HorizontalAlignment="Left" Margin="30,207,0,0" VerticalAlignment="Top" Content="Automatikus mappa választás"/>
                    <CheckBox x:Name="EllenorzesCheckBox" HorizontalAlignment="Left" Margin="369,198,0,0" VerticalAlignment="Top" Content="Ellenőrzés" >
                        <CheckBox.RenderTransform>
                            <TransformGroup>

                            </TransformGroup>
                        </CheckBox.RenderTransform>
                    </CheckBox>
                    <CheckBox x:Name="PrintCheckBox" HorizontalAlignment="Left" Margin="11,131,0,0" VerticalAlignment="Top" Content="Nyomtatás"/>
                    <StackPanel Margin="0,250,308,0" HorizontalAlignment="Right" Width="181" Height="38" VerticalAlignment="Top">
                        <RadioButton x:Name="MaterialRadioButton3" Content="Aktív rajz használata"/>
                        <RadioButton x:Name="KulonAloRajzok" Content="Különálló rajzok használata"/>
                    </StackPanel>
                    <CheckBox x:Name="SheetCheckBox" HorizontalAlignment="Left" Margin="369,221,0,0" VerticalAlignment="Top" Content="Lapszam Beírása"/>



                    <Button x:Name="Files_Browse" Content="Böngészés" HorizontalAlignment="Left" Margin="278,256,0,0" VerticalAlignment="Top" Width="81" RenderTransformOrigin="0.785,1.101" Height="22" FontSize="8"/>
                    <Grid HorizontalAlignment="Left" Height="32" Margin="10,156,0,0" VerticalAlignment="Top" Width="319">
                        <ProgressBar x:Name="Progressbar" HorizontalAlignment="Left" Height="32" VerticalAlignment="Top" Width="319" />
                        <Label x:Name="ProgressText" Content="" HorizontalAlignment="Center" VerticalAlignment="Center" Height="22"  />

                    </Grid>
                    <Button x:Name="CreateDocument_XLS" Content="Excel nyomtatása" HorizontalAlignment="Left" Margin="191,218,0,0" VerticalAlignment="Top" Width="147" RenderTransformOrigin="0.785,1.101"/>
                    <CheckBox x:Name="PrintExcelCheckBox" HorizontalAlignment="Left" Margin="100,131,0,0" VerticalAlignment="Top" Content="Excel Nyomtatás"/>
                    <CheckBox x:Name="DWGCheckBox" HorizontalAlignment="Left" Margin="59,62,0,0" VerticalAlignment="Top" Content="DWG" RenderTransformOrigin="0.763,0.741"/>

                </Grid>
            </TabItem>
            <TabItem Header="Egyéb" IsEnabled="False">
                <Grid>
                    <TabControl HorizontalAlignment="Right" Width="500" Height="297" VerticalAlignment="Top" Background="{x:Null}" IsEnabled="False">

                        <TabItem Header="Drw osztó"                                >
                            <TabItem.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform AngleY="-0.415"/>
                                    <RotateTransform/>
                                    <TranslateTransform Y="0.326"/>
                                </TransformGroup>
                            </TabItem.RenderTransform>
                            <Grid Margin="0,0,0,-1">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="33*"/>
                                    <RowDefinition Height="8*"/>
                                </Grid.RowDefinitions>
                                <Button x:Name="drwSplitButton" Content="Split" HorizontalAlignment="Left" Margin="10,54,0,0" VerticalAlignment="Top" Width="91" RenderTransformOrigin="0.785,1.101"/>
                                <CheckBox x:Name="AktualisRajzRadioButton" HorizontalAlignment="Left" Margin="10,91,0,0" VerticalAlignment="Top" Content="Aktuális rajz mentése" Width="156"/>
                                <Button x:Name="test" Content="Split" HorizontalAlignment="Left" Margin="393,54,0,0" VerticalAlignment="Top" Width="91" RenderTransformOrigin="0.785,1.101"/>
                                <CheckBox x:Name="RajzCsereRadioButton" HorizontalAlignment="Left" Margin="328,91,0,0" VerticalAlignment="Top" Content="Rajz csere" Width="156"/>
                            </Grid>
                        </TabItem>
                        <TabItem Header="Purge">
                            <Grid>
                                <CheckBox x:Name="PRTCheckBox" HorizontalAlignment="Left" Margin="10,104,0,0" VerticalAlignment="Top" Content="PRT" RenderTransformOrigin="-0.023,5.167"/>
                                <CheckBox x:Name="ASMCheckBox" HorizontalAlignment="Left" Margin="114,104,0,0" VerticalAlignment="Top" Content="ASM"/>
                                <CheckBox x:Name="DRWCheckBox" HorizontalAlignment="Left" Margin="58,104,0,0" VerticalAlignment="Top" Content="DRW"/>
                                <Button x:Name="FixNamesButton" Content="Fix names" HorizontalAlignment="Left" Margin="124,67,0,0" VerticalAlignment="Top" Width="94" RenderTransformOrigin="0.785,1.101"/>
                                <Button x:Name="PurgeBongeszesButton" Content="Böngészés" HorizontalAlignment="Left" Margin="10,67,0,0" VerticalAlignment="Top" Width="109" RenderTransformOrigin="0.785,1.101"/>
                                <CheckBox x:Name="subdirctories" HorizontalAlignment="Left" Margin="179,104,0,0" VerticalAlignment="Top" Content="ASM"/>
                            </Grid>
                        </TabItem>
                        <TabItem Header="Translator">
                            <Grid Height="287" VerticalAlignment="Top" Margin="0,0,2,0">
                                <Button x:Name="Button1" Content="Button" HorizontalAlignment="Left" Margin="10,137,0,0" VerticalAlignment="Top" Width="75"/>
                                <CheckBox x:Name="PromtTranslateCBOX" Content="CheckBox" HorizontalAlignment="Left" Margin="10,174,0,0" VerticalAlignment="Top"/>
                            </Grid>
                        </TabItem>
                    </TabControl>
                </Grid>
            </TabItem>
            <TabItem Header="Nényjegy" Width="124" IsEnabled="False">
                <Grid>
                    <Image HorizontalAlignment="Center" Height="98" Margin="46,70,48,129" VerticalAlignment="Center" Width="406" Source="logo.png" Stretch="Fill"/>

                </Grid>
            </TabItem>
            <Image Height="100" Width="100"/>
        </TabControl>
        <Button Content="Button" Margin="479,0,0,0" VerticalAlignment="Top" Height="22" Click="Button_Click" BorderBrush="{x:Null}">
            <Button.Foreground>
                <ImageBrush/>
            </Button.Foreground>
            <Button.Background>
                <ImageBrush ImageSource="baseline_clear_black_18dp.png"/>
            </Button.Background>

        </Button>

    </Grid>



</Window>
