<?xml version="1.0" encoding="utf-8"?>
<Window x:Class="QC.QMine.QMineInterface.ProgressWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="ProgressWindow" Height="100" Width="300" WindowStartupLocation="CenterOwner" ResizeMode="NoResize" ShowInTaskbar="False" WindowStyle="None" xmlns:qmineinterface="clr-namespace:QC.QMine.QMineInterface;assembly=QMineInterface" Loaded="ProgressWindow_Loaded" IsVisibleChanged="ProgressWindowVisibility_Changed" MouseDown="ProgressWindow_MouseDown">
  <Border BorderBrush="#FF000000" BorderThickness="2" CornerRadius="10" AllowDrop="False" Background="#FF6495ED">
    <Grid>
      <Grid.RowDefinitions>
        <RowDefinition Height="Auto" />
        <RowDefinition Height="Auto" />
        <RowDefinition Height="*" />
      </Grid.RowDefinitions>
      <Grid.ColumnDefinitions>
        <ColumnDefinition Width="*" />
        <ColumnDefinition Width="Auto" />
      </Grid.ColumnDefinitions>
      <TextBlock Name="ProgressTitle" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Margin="3" FontWeight="Bold" />
      <ProgressBar Name="ProgressBar1" Margin="5" Grid.Column="0" Grid.Row="1" />
      <Button Name="CancelButton" Grid.Row="1" Grid.Column="1" Margin="5" Click="CancelButton_Click">
        <TextBlock Name="CancelTextBlock" Text="Cancel" Margin="3" />
      </Button>
      <Expander Name="RunDetailsExpander" ExpandDirection="Down" IsExpanded="False" Grid.Row="2" Grid.ColumnSpan="2" Collapsed="RunDetailsExpander_Collapsed" Expanded="RunDetailsExpander_Expanded">
        <HeaderedContentControl.Header>
          <StackPanel Orientation="Horizontal">
            <TextBlock FontWeight="Bold" FontStyle="Italic" FontSize="14">Run details</TextBlock>
          </StackPanel>
        </HeaderedContentControl.Header>
        <TextBox IsReadOnly="True" TextWrapping="Wrap" VerticalScrollBarVisibility="Auto" AcceptsReturn="True" Text="{Binding RunLogMessageCollection, Mode=OneWay}" />
      </Expander>
    </Grid>
  </Border>
</Window>