74 lines
3.9 KiB
XML
74 lines
3.9 KiB
XML
<Window x:Class="HashCalculator.GUI.MainWindow"
|
||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
xmlns:dotNetKitControls="clr-namespace:DotNetKit.Windows.Controls;assembly=DotNetKit.Wpf.AutoCompleteComboBox"
|
||
xmlns:l="clr-namespace:HashCalculator.GUI"
|
||
mc:Ignorable="d"
|
||
Title="Sage FastHash 哈希计算器" Height="600" Width="600">
|
||
<Grid Margin="10, 10">
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition/>
|
||
<RowDefinition Height="130" />
|
||
</Grid.RowDefinitions>
|
||
<StackPanel Grid.Row="0">
|
||
<Grid Height="25">
|
||
<Grid.ColumnDefinitions>
|
||
<ColumnDefinition />
|
||
<ColumnDefinition Width="92"/>
|
||
</Grid.ColumnDefinitions>
|
||
<dotNetKitControls:AutoCompleteComboBox
|
||
SelectedValuePath="Id"
|
||
TextSearch.TextPath="Name"
|
||
Text="输入任意字符串来计算它的哈希值,也可以输入big/manifest/xml文件的路径"
|
||
ItemsSource="{Binding Items}"
|
||
SelectedItem="{Binding SelectedItem}"
|
||
SelectedValue="{Binding SelectedValue}"
|
||
Grid.Column="0" Margin="0"
|
||
/>
|
||
<Button x:Name="button" Content="浏览文件"
|
||
Grid.Column="1" Margin="0"
|
||
/>
|
||
</Grid>
|
||
<dotNetKitControls:AutoCompleteComboBox
|
||
SelectedValuePath="Id"
|
||
TextSearch.TextPath="Name"
|
||
Text="输入big文件里包含的manifest文件的路径"
|
||
ItemsSource="{Binding Items}"
|
||
SelectedItem="{Binding SelectedItem}"
|
||
SelectedValue="{Binding SelectedValue}"
|
||
Margin="0,10,0,0"
|
||
Height="25" VerticalAlignment="Top"
|
||
/>
|
||
<dotNetKitControls:AutoCompleteComboBox
|
||
SelectedValuePath="Id"
|
||
TextSearch.TextPath="Name"
|
||
Text="过滤Asset ID(可选)"
|
||
ItemsSource="{Binding Items}"
|
||
SelectedItem="{Binding SelectedItem}"
|
||
SelectedValue="{Binding SelectedValue}"
|
||
Margin="0,10,0,0"
|
||
Height="25" VerticalAlignment="Top"
|
||
/>
|
||
<DataGrid x:Name="dataGrid">
|
||
<DataGrid.Columns>
|
||
<DataGridTextColumn Header="Asset ID" Width="200"/>
|
||
<DataGridTextColumn Header="哈希" Width="*"/>
|
||
</DataGrid.Columns>
|
||
</DataGrid>
|
||
</StackPanel>
|
||
<TextBlock x:Name="textBlock" Grid.Row="1" TextWrapping="Wrap">
|
||
本工具基于 <l:ShellLink NavigateUri="https://github.com/Qibbi">Qibbi</l:ShellLink> 提供的 TechnologyAssembler 制作<LineBreak />
|
||
此外使用了 <l:ShellLink NavigateUri="https://github.com/vain0x">vain0x</l:ShellLink> 的
|
||
<l:ShellLink NavigateUri="https://github.com/vain0x/DotNetKit.Wpf.AutoCompleteComboBox">DotNetKit.Wpf.AutoCompleteComboBox</l:ShellLink>
|
||
组合框控件<LineBreak />
|
||
使用了 <l:ShellLink NavigateUri="https://github.com/bgrainger">Bradley Grainger</l:ShellLink> 的
|
||
<l:ShellLink NavigateUri="https://github.com/bgrainger/IndexRange">IndexRange</l:ShellLink>
|
||
从而能在 .NET Standard 2.0 上使用 C# 8.0 的末尾索引操作符<LineBreak />
|
||
<LineBreak />
|
||
假如你对本工具有任何疑问或者建议的话,可以来到<l:ShellLink NavigateUri="https://tieba.baidu.com/ra3">红警3吧</l:ShellLink>发帖寻找岚依(
|
||
</TextBlock>
|
||
</Grid>
|
||
</Window>
|