<?xml version="1.0" encoding="utf-8"?>
<Window x:Class="QCLVR.DataminerWin" 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:QCLVR" Title="Running Dataminer" Height="500" Width="1100" Closing="Window_Closing">
  <Grid>
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="Auto" />
      <ColumnDefinition />
      <ColumnDefinition Width="Auto" />
    </Grid.ColumnDefinitions>
    <Grid.RowDefinitions>
      <RowDefinition Height="30" />
      <RowDefinition Height="30" />
      <RowDefinition />
    </Grid.RowDefinitions>
    <DockPanel Grid.Row="0" Grid.Column="0">
      <Button Name="selectFDBtn" Content="Select" Margin="2,2,2,2" Width="80" Click="SelectFDBtn_Click" />
    </DockPanel>
    <DockPanel Grid.Row="0" Grid.Column="2" FlowDirection="LeftToRight">
      <CheckBox Name="autoFD" VerticalAlignment="Center" Margin="10,2,2,2" Checked="AutoFD_Checked" Unchecked="AutoFD_Unchecked" />
      <TextBlock Text="Grab Format descriptor automatically (-autoFD)" Height="24" Padding="3" TextAlignment="Right" />
    </DockPanel>
    <DockPanel Grid.Row="0" FlowDirection="LeftToRight" Margin="2,0,0,0" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Top">
      <Border BorderThickness="1" BorderBrush="#FF000000" Margin="2,2,2,2" CornerRadius="5">
        <TextBox Name="FDPathBox" Text="Format Descriptor Path" TextAlignment="Left" Height="24" Margin="0,0,0,0" VerticalAlignment="Top" HorizontalAlignment="Stretch" ToolTip="Enter Format Descriptor path here" MouseDoubleClick="FilePathBox_MouseDoubleClick" KeyDown="FilePathBox_KeyDown" />
      </Border>
    </DockPanel>
    <DockPanel Grid.Row="1" Grid.Column="0">
      <TextBlock Text="Options" Height="24" TextAlignment="Center" Padding="3" />
    </DockPanel>
    <DockPanel Grid.Row="1" FlowDirection="LeftToRight" Margin="2,0,0,0" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Top">
      <Border BorderThickness="1" BorderBrush="#FF000000" Margin="2,2,2,2" CornerRadius="5">
        <TextBox Name="OptionsTextBox" TextAlignment="Left" Height="24" Margin="0,0,0,0" VerticalAlignment="Top" HorizontalAlignment="Stretch" ToolTip="Enter Options here" MouseDoubleClick="FilePathBox_MouseDoubleClick" KeyDown="FilePathBox_KeyDown" />
      </Border>
    </DockPanel>
    <DockPanel Grid.Row="1" Grid.Column="2" FlowDirection="LeftToRight">
      <Button Name="RunBtn" Content="Run" Margin="2,2,2,2" Click="RunBtn_Click" />
    </DockPanel>
    <TextBox Name="ConsoleOut" Grid.Row="2" Grid.ColumnSpan="4" Margin="2,2,2,2" Background="#FF000000" Foreground="#FFFFFFFF" IsReadOnly="True" />
  </Grid>
</Window>