<Window x:Class="Valg.EVA.Skanning.Scan.Startup.TerminateProcess.TerminateTargetProcessDialog"
             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:language1="clr-namespace:Valg.EVA.Skanning.Resources.Language;assembly=Valg.EVA.Skanning.Resources"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300"
             Style="{DynamicResource PopUpWindowAction}"
             MaxHeight="600"
             MaxWidth="600"
             WindowStartupLocation="CenterScreen">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Valg.EVA.Skanning.Assets;component/ResourceDictionaries/ResourceLibrary.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <StackPanel>
        <StackPanel Orientation="Horizontal">
            <TextBlock Style="{StaticResource TextBlockLargeHeader}" Margin="10" Text="{x:Static language1:ScanLanguageString.EvaScanIsAlreadyRunning}" />    
        </StackPanel>
        
        <TextBlock Margin="10" Style="{StaticResource TextBlockMediumHeader}" Text="{x:Static language1:ScanLanguageString.EvaScanRestartQuestion}" TextWrapping="Wrap"/>
        
        <StackPanel Orientation="Horizontal" Margin="10" HorizontalAlignment="Right">
            <Button Style="{StaticResource BlueButton}" Height="49" Content="{x:Static language1:ScanLanguageString.DoNotStop}" IsDefault="True" IsCancel="True" Click="NoClick" />
            <Button Style="{StaticResource RedButtonCancel}" Height="49" Content="{x:Static language1:ScanLanguageString.StopEVASkann}" Click="YesClick" Margin="10,0,0,0"  />
        </StackPanel>
    </StackPanel>
</Window>

