mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-19 17:34:13 +08:00
29 lines
1.9 KiB
Plaintext
29 lines
1.9 KiB
Plaintext
|
<Window x:Class="GARbro.GUI.ConvertImages"
|
||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
xmlns:s="clr-namespace:GARbro.GUI.Strings"
|
||
|
xmlns:p="clr-namespace:GARbro.GUI.Properties"
|
||
|
xmlns:g="clr-namespace:GameRes;assembly=GameRes"
|
||
|
Title="{x:Static s:guiStrings.TextConvertImages}" ShowInTaskbar="False" WindowStartupLocation="CenterOwner"
|
||
|
ResizeMode="NoResize" SizeToContent="WidthAndHeight"
|
||
|
Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}">
|
||
|
<Grid>
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition/>
|
||
|
<RowDefinition/>
|
||
|
<RowDefinition/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<StackPanel Orientation="Horizontal" Grid.Row="0" Margin="20,10,20,10">
|
||
|
<Label Content="{x:Static s:guiStrings.LabelDestinationFormat}" Target="{Binding ElementName=ImageConversionFormat}" HorizontalAlignment="Left" Padding="0,0,10,0" VerticalAlignment="Center"/>
|
||
|
<ComboBox Name="ImageConversionFormat" DisplayMemberPath="Tag" Width="60" HorizontalAlignment="Left"
|
||
|
ItemsSource="{Binding Source={x:Static g:FormatCatalog.Instance}, Path=ImageFormats, Mode=OneWay}"
|
||
|
SelectedValue="{Binding Source={x:Static p:Settings.Default}, Path=appLastImageFormat, Mode=TwoWay}" SelectedValuePath="Tag"/>
|
||
|
</StackPanel>
|
||
|
<Separator Grid.Row="1"/>
|
||
|
<StackPanel Orientation="Horizontal" Margin="10,0,10,10" HorizontalAlignment="Right" Grid.Row="2">
|
||
|
<Button Content="{x:Static s:guiStrings.ButtonOK}" Click="ConvertButton_Click" Margin="10" Width="75" IsDefault="True" Height="25"/>
|
||
|
<Button Content="{x:Static s:guiStrings.ButtonCancel}" Margin="10" IsCancel="True" Width="75" Height="25"/>
|
||
|
</StackPanel>
|
||
|
</Grid>
|
||
|
</Window>
|