<?xml version="1.0" encoding="utf-8"?>
<Window x:Class="QCLVR.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:QCLVR" Title="Title of Doc" Height="450" Width="1000" AllowDrop="True" WindowState="Maximized" WindowStyle="SingleBorderWindow" Closing="Window_Closing">
  <Grid Name="grid" Background="#3254dc" AllowDrop="True">
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="Auto" />
      <ColumnDefinition />
      <ColumnDefinition Width="Auto" />
    </Grid.ColumnDefinitions>
    <Grid.RowDefinitions>
      <RowDefinition Height="30" />
      <RowDefinition />
    </Grid.RowDefinitions>
    <WebBrowser Name="WebB" Grid.Row="1" ScrollViewer.IsDeferredScrollingEnabled="True" Margin="0,0,0,0" Grid.ColumnSpan="4" AllowDrop="True" />
    <DockPanel Grid.Column="0" Grid.Row="0" AllowDrop="True" Drop="FilePathBox_PreviewDrop">
      <Button Name="backBtn" Width="50" Margin="2,2,0,0" VerticalAlignment="Top" Background="#FFFFFFFF" Click="Back_Click">
        <Image Source="/images/arrow_left_sm_414445.png" Width="20" Height="20" />
        <FrameworkElement.ToolTip>
          <ToolTip>Back</ToolTip>
        </FrameworkElement.ToolTip>
      </Button>
      <Button Name="forwardBtn" Width="50" Margin="2,2,0,0" VerticalAlignment="Top" Background="#FFFFFFFF" Click="Forward_Click">
        <Image Source="/images/arrow_right_sm_414445.png" Width="20" Height="20" />
        <FrameworkElement.ToolTip>
          <ToolTip>Forward</ToolTip>
        </FrameworkElement.ToolTip>
      </Button>
      <Button Margin="2,2,0,0" VerticalAlignment="Top" Width="50" Background="#FFFFFFFF" Grid.Column="3" Grid.Row="1" Click="Button_Click_Home">
        <Image Source="/images/home_414445.png" Width="20" Height="20" />
        <FrameworkElement.ToolTip>
          <ToolTip>Go back to the Table Of Contents</ToolTip>
        </FrameworkElement.ToolTip>
      </Button>
      <Button Name="DMBtn" Margin="2,2,0,0" VerticalAlignment="Top" Width="50" Background="#FFFFFFFF" Grid.Column="3" Grid.Row="1" Click="DMBtn_Click">
        <Image Source="/images/file-output-excel_414445.png" Width="20" Height="20" />
        <FrameworkElement.ToolTip>
          <ToolTip>Dataminer</ToolTip>
        </FrameworkElement.ToolTip>
      </Button>
    </DockPanel>
    <DockPanel Grid.Row="0" FlowDirection="LeftToRight" Margin="0,0,0,0" Grid.Column="1" HorizontalAlignment="Stretch" AllowDrop="True" Drop="FilePathBox_PreviewDrop">
      <Border BorderThickness="1" BorderBrush="#FF000000" Margin="2,2,2,2" CornerRadius="5">
        <TextBox Name="FilePathBox" TextAlignment="Left" Height="24" Margin="0,0,0,0" Text="File Path" VerticalAlignment="Top" HorizontalAlignment="Stretch" AllowDrop="True" ToolTip="Change path and press Enter or drop File(s) here" MouseDoubleClick="FilePathBox_MouseDoubleClick" KeyDown="FilePathBox_KeyDown" PreviewDrop="FilePathBox_PreviewDrop" PreviewDragOver="FilePathBox_PreviewDragOver" PreviewDragLeave="FilePathBox_PreviewDragOver" />
      </Border>
    </DockPanel>
    <DockPanel Grid.Row="0" Grid.Column="2">
      <Button Name="searchBtn" Width="50" Margin="2,2,0,0" VerticalAlignment="Top" Background="#FFFFFFFF" Click="SearchBtn_Click">
        <Image Source="/images/search_414445.png" Width="20" Height="20" />
        <FrameworkElement.ToolTip>
          <ToolTip>Open</ToolTip>
        </FrameworkElement.ToolTip>
      </Button>
      <Button Name="xmlBtn" Width="50" Margin="2,2,0,0" VerticalAlignment="Top" Background="#FFFFFFFF" Click="Button_Click_XML">
        <Image Source="/images/property-value_414445.png" Width="20" Height="20" />
        <FrameworkElement.ToolTip>
          <ToolTip>Create an XML Copy on the working directory</ToolTip>
        </FrameworkElement.ToolTip>
      </Button>
      <Button Name="compressBtn" Width="50" Margin="2,2,0,0" VerticalAlignment="Top" Background="#FFFFFFFF" Click="Button_Click_Compress">
        <Image Source="/images/file-output_414445.png" Width="20" Height="20" />
        <FrameworkElement.ToolTip>
          <ToolTip>Create a Compressed XML Copy on the working directory</ToolTip>
        </FrameworkElement.ToolTip>
      </Button>
    </DockPanel>
  </Grid>
</Window>