年度变更建库软件5.0版本
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
2.7 KiB

6 months ago
<windows:BaseWindow
x:Class="Kingo.Plugin.General.View.UCDecompressionDB"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils"
mc:Ignorable="d" Title="解压解密工具"
d:DesignHeight="450" d:DesignWidth="800">
<Grid Margin="5">
<Grid.RowDefinitions>
<RowDefinition Height="35"/>
<RowDefinition Height="*"/>
<RowDefinition Height="35"/>
<RowDefinition Height="30"/>
</Grid.RowDefinitions>
<StackPanel Grid.Row="0" Orientation="Horizontal" Height="25">
<dx:SimpleButton Content="添加任务文件" x:Name="btnSelectFolder" Click="BtnSelectFiles_Click"/>
<dx:SimpleButton Content="从文件夹中添加" x:Name="btnSelectFiles" Margin="10,0" Click="BtnSelectFolder_Click"/>
<dx:SimpleButton Content="删除选中" x:Name="btnDelete" Click="BtnDelete_Click"/>
<dx:SimpleButton Content="清空列表" x:Name="btnClear" Margin="10,0" Click="BtnClear_Click"/>
</StackPanel>
<dxg:GridControl Grid.Row="1" AutoPopulateColumns="False" Name="gridPaths"
AutoGenerateColumns="KeepOld">
<dxg:GridControl.View>
<dxg:TableView Name="tvAttr" ShowTotalSummary="False" AllowEditing="False" ShowCheckBoxSelectorColumn="True"
ShowSearchPanelMode="Never" AllowGrouping="True" HorizontalScrollbarVisibility="Visible" MultiSelectMode="Row" ShowGroupPanel="False" ShowAutoFilterRow="True" AllowFilterEditor="True" />
</dxg:GridControl.View>
<dxg:GridControl.Columns>
<dxg:GridColumn Header="路径" FieldName="FilePath" Width="*"/>
</dxg:GridControl.Columns>
</dxg:GridControl>
<dxlc:LayoutItem Label=" 保存路径:" Grid.Row="2" VerticalAlignment="Center">
<dxe:ButtonEdit IsReadOnly="True" x:Name="btnSavePath" DefaultButtonClick="BtnSavePath_DefaultButtonClick"/>
</dxlc:LayoutItem>
<dx:SimpleButton Grid.Row="3" Width="80" Height="25" Content="开始解压" x:Name="btnDecompression" Click="BtnDecompression_Click"/>
</Grid>
</windows:BaseWindow>