HashCalculator.GUI/MainWindow.xaml
2020-03-22 19:56:16 +01:00

75 lines
3.6 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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:l="clr-namespace:HashCalculator.GUI"
mc:Ignorable="d"
Title="Sage FastHash 哈希计算器" Height="600" Width="600">
<Window.Resources>
<l:NullToVisibilityConverter x:Key="NullToVisibilityConverter" />
</Window.Resources>
<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>
<Grid>
<!--<l:InputBox
HintText="Select some big file"
Collection="{Binding Items}"
TextChanged="OnTextChanged"
>
</l:InputBox>-->
<l:InputBar
HintText="Select some big file"
Text="{Binding Text}"
Collection="{Binding Items}"
TextChanged="OnTextChanged"
/>
</Grid>
<Button x:Name="button" Content="浏览文件"
Grid.Column="1" Margin="0"
/>
</Grid>
<l:InputBar
HintText="输入big文件里包含的manifest文件的路径"
Collection="{Binding Items}"
SelectedItem="{Binding SelectedItem}"
Margin="0,10,0,0"
Height="25" VerticalAlignment="Top"
/>
<l:InputBar
HintText="过滤Asset ID可选"
Collection="{Binding Items}"
SelectedItem="{Binding SelectedItem}"
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>