2015-06-02 07:16:11 +08:00
|
|
|
<Grid x:Class="GameRes.Formats.GUI.WidgetDPK"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:s="clr-namespace:GameRes.Formats.Strings"
|
|
|
|
xmlns:p="clr-namespace:GameRes.Formats.Properties"
|
2015-06-04 05:10:02 +08:00
|
|
|
xmlns:dac="clr-namespace:GameRes.Formats.Dac">
|
2015-06-02 07:16:11 +08:00
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
<ColumnDefinition MinWidth="130" Width="*"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition/>
|
|
|
|
<RowDefinition/>
|
|
|
|
<RowDefinition/>
|
|
|
|
<RowDefinition/>
|
|
|
|
</Grid.RowDefinitions>
|
2015-06-02 19:45:19 +08:00
|
|
|
<Label Content="{x:Static s:arcStrings.LabelEncScheme}" Target="{Binding ElementName=EncScheme}"
|
2015-06-02 07:16:11 +08:00
|
|
|
Grid.Column="0" Grid.Row="0" HorizontalAlignment="Right"/>
|
|
|
|
<ComboBox Name="EncScheme" Grid.Column="1" Grid.Row="0" Margin="0,3,0,0" Width="200"
|
|
|
|
ItemsSource="{Binding Source={x:Static dac:DpkOpener.KnownSchemes}, Mode=OneWay}"
|
|
|
|
DisplayMemberPath="Name" SelectedValuePath="Name"
|
|
|
|
SelectedValue="{Binding Source={x:Static p:Settings.Default}, Path=DPKLastScheme, Mode=TwoWay}"/>
|
|
|
|
<TextBox Name="Original" Background="Transparent" BorderThickness="0" Text="{Binding Path=OriginalTitle}"
|
|
|
|
IsReadOnly="True" TextWrapping="NoWrap" Grid.Column="1" Grid.Row="1" Margin="0,3,0,3"
|
|
|
|
DataContext="{Binding ElementName=EncScheme, Path=SelectedItem}"/>
|
|
|
|
<Label Content="{x:Static s:arcStrings.DPKKeys}" Target="{Binding ElementName=Key1}"
|
2015-06-02 20:56:32 +08:00
|
|
|
ToolTip="{x:Static s:arcStrings.ArcHex32Bit}"
|
2015-06-02 07:16:11 +08:00
|
|
|
Grid.Column="0" Grid.Row="2" HorizontalAlignment="Right"/>
|
|
|
|
<TextBox Name="Key1" Grid.Column="1" Grid.Row="2" Margin="0,3,0,3" Width="100" HorizontalAlignment="Left"
|
2015-06-02 20:56:32 +08:00
|
|
|
ToolTip="{x:Static s:arcStrings.ArcHex32Bit}"/>
|
2015-06-02 07:16:11 +08:00
|
|
|
<TextBox Name="Key2" Grid.Column="1" Grid.Row="3" Margin="0,3,0,3" Width="100" HorizontalAlignment="Left"
|
2015-06-02 20:56:32 +08:00
|
|
|
ToolTip="{x:Static s:arcStrings.ArcHex32Bit}"/>
|
2015-06-02 07:16:11 +08:00
|
|
|
</Grid>
|