<UserControl x:Class="HistoryView.Views.Regions.GasPanelHolder"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:HistoryView.Views.Regions"
             xmlns:prism="http://prismlibrary.com/"
             prism:ViewModelLocator.AutoWireViewModel="True"
             xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
             xmlns:wfi ="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
             SizeChanged="UserControl_SizeChanged"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800">

    <Grid Background="DarkGray">
        <Border Background="#b1d2f2" Margin="4">
            <Border.Effect>
                <DropShadowEffect BlurRadius="20" Color="Black" Opacity="0.6"  ShadowDepth="5"/>
            </Border.Effect>
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition/>
                    <RowDefinition Height="auto"/>
                </Grid.RowDefinitions>
                <WindowsFormsHost Grid.Row="0" Width="auto">
                    <wf:Panel x:Name="panel"></wf:Panel>
                </WindowsFormsHost>
                <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right">
                    <Button VerticalAlignment="Center" HorizontalAlignment="Center" Click="Button_Click" Width="100" Margin="8,0">Capture</Button>
                    <Button VerticalAlignment="Center" HorizontalAlignment="Center" Click="Button_Click_1" Width="100">Clear</Button>
                </StackPanel>
            </Grid>
        </Border>
    </Grid>
</UserControl>
