2017-02-03 18:04:35 +04:00
|
|
|
<w:ModalWindow x:Class="GARbro.GUI.FileExistsDialog"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:w="clr-namespace:Rnd.Windows"
|
|
|
|
xmlns:s="clr-namespace:GARbro.GUI.Strings"
|
|
|
|
Title="File already exists" ShowInTaskbar="False" WindowStartupLocation="CenterOwner"
|
|
|
|
ResizeMode="NoResize" SizeToContent="WidthAndHeight" ShowActivated="True"
|
2017-03-03 17:53:43 +04:00
|
|
|
FocusManager.FocusedElement="{Binding ElementName=FirstButton}"
|
2017-02-03 18:04:35 +04:00
|
|
|
Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}">
|
2017-02-03 21:56:04 +04:00
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<Image Source="Images/64x64/actions.png" Width="64" Height="64" Margin="10"
|
|
|
|
SnapsToDevicePixels="True" VerticalAlignment="Top" RenderOptions.BitmapScalingMode="HighQuality"/>
|
|
|
|
<StackPanel Orientation="Vertical">
|
|
|
|
<TextBlock x:Name="Notice" Text="File named {0} already exists in destination folder." Margin="0,10,10,10"/>
|
|
|
|
<TextBlock Text="{x:Static s:guiStrings.LabelDuplicateFileQuestion}" Margin="0,0,10,10"/>
|
|
|
|
<Separator/>
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
|
2017-03-03 17:53:43 +04:00
|
|
|
<Button Content="{x:Static s:guiStrings.ButtonSkip}" Margin="0,10,10,10" MinWidth="75" Height="25" IsDefault="True" Click="SkipButton_Click" x:Name="FirstButton"/>
|
2017-02-03 21:56:04 +04:00
|
|
|
<Button Content="{x:Static s:guiStrings.ButtonOverwrite}" Margin="10" MinWidth="75" Height="25" Click="OverwriteButton_Click"/>
|
|
|
|
<Button Content="{x:Static s:guiStrings.ButtonRename}" Margin="10" MinWidth="75" Height="25" Click="RenameButton_Click"/>
|
|
|
|
<Button Content="{x:Static s:guiStrings.ButtonAbort}" Margin="10" MinWidth="75" Height="25" IsCancel="True" Click="AbortButton_Click"/>
|
|
|
|
</StackPanel>
|
|
|
|
<CheckBox x:Name="ApplyToAll" Content="{x:Static s:guiStrings.LabelApplyToAll}" Margin="0,10,10,10"/>
|
2017-02-03 18:04:35 +04:00
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
</w:ModalWindow>
|