<Window x:Class="FSI.SIE.Starter.Csv.Exporter.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:FSI.SIE.Starter.Csv.Exporter"
        mc:Ignorable="d"
        Title="FSI Siemens Starter Trace Csv-Exporter"

        SizeToContent="WidthAndHeight"
        Height="Auto"
        Width="Auto"
        Icon="Icons/FondiumU.ico">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />

        </Grid.RowDefinitions>
        
        <StackPanel 
                    Orientation="Horizontal">
            <TextBlock Text="Datei:"
                       Margin="5 5 5 5" />
            <TextBox x:Name="tbSrcFile"
                     Width="600"
                     Margin="5 5 5 5"
                     AllowDrop="True" 
                     TextChanged="TbSrcFile_TextChanged"
                     PreviewDragEnter="TbSrcFile_PreviewDragEnter"
                     PreviewDragOver="TbSrcFile_PreviewDragOver"
                     Drop="TbSrcFile_Drop"/>

            <Button x:Name="btnSlctSrcFile"
                    Content="..."
                    Width="30"
                    Margin="5 5 5 5"                    
                    Click="BtnSlctSrcFile_Click" />
        </StackPanel>

        <StackPanel Grid.Row="1">
            <Button x:Name="btnStart"
                    Content="Start"
                    Margin="5 5 5 5"
                    IsEnabled="False"
                    Click="BtnStart_Click" />
        </StackPanel>

    </Grid>
</Window>
