|
|
|
|
<Window x:Class="AttachmentDemo.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:local="clr-namespace:附件信息验签demo" xmlns:model="clr-namespace:AttachmentDemo.Model"
|
|
|
|
|
mc:Ignorable="d"
|
|
|
|
|
xmlns:kui="clr-namespace:KUI;assembly=KUI"
|
|
|
|
|
xmlns:kbtn="clr-namespace:KUI.Button;assembly=KUI"
|
|
|
|
|
Title="修改DB文件信息" Height="450" Width="800">
|
|
|
|
|
<Window.Resources >
|
|
|
|
|
|
|
|
|
|
</Window.Resources>
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="100"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="178"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="50"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="50"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<TextBox x:Name="tbFilePath" HorizontalAlignment="Stretch" VerticalContentAlignment="Center" Height="30" TextWrapping="Wrap" VerticalAlignment="Center" Grid.Row="0" Grid.Column="1"/>
|
|
|
|
|
<Label x:Name="textBlock" HorizontalAlignment="Right" Content="选择文件路径:" VerticalContentAlignment="Center" Grid.Row="0" Grid.Column="0"/>
|
|
|
|
|
<StackPanel Grid.Row="0" Orientation="Horizontal" Grid.Column="2">
|
|
|
|
|
<kbtn:KImgButton x:Name="btSelectFile" Content="选 择" Height="30" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="8,0" Width="76" Click="btSelectFile_Click" Grid.Row="0" Grid.Column="2"/>
|
|
|
|
|
<kbtn:KImgButton Content="开始转换" HorizontalAlignment="Left" Height="30" VerticalAlignment="Center" Width="80" Click="btChange_Click"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<TabControl x:Name="tabControl" Grid.ColumnSpan="3" HorizontalAlignment="Stretch" Margin="8,0" Grid.Row="1" VerticalAlignment="Stretch">
|
|
|
|
|
<TabItem Header="附件信息">
|
|
|
|
|
<Grid Background="#FFE5E5E5">
|
|
|
|
|
<kui:PagingDataGrid x:Name="dataGridFJ" HorizontalAlignment="Stretch" IsReadOnly="True" VerticalAlignment="Stretch" AutoGenerateColumns="False" >
|
|
|
|
|
<DataGrid.Columns>
|
|
|
|
|
<DataGridTextColumn Header="状态" Binding="{Binding [ZT], Mode=TwoWay}" />
|
|
|
|
|
<DataGridTextColumn Header="标识码" Binding="{Binding [BSM]}" />
|
|
|
|
|
<DataGridTextColumn Header="地块类型" Binding="{Binding [TBLX]}" />
|
|
|
|
|
<DataGridTextColumn Header="地块标识码" Binding="{Binding [TBBSM]}" />
|
|
|
|
|
<DataGridTextColumn Header="附件名称" Binding="{Binding [FJMC]}" />
|
|
|
|
|
<DataGridTextColumn Header="证书代码" Binding="{Binding [ZSDM]}" />
|
|
|
|
|
<DataGridTextColumn Header="校验码" Binding="{Binding [JYM]}" />
|
|
|
|
|
</DataGrid.Columns>
|
|
|
|
|
</kui:PagingDataGrid>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<TabItem Header="加密信息">
|
|
|
|
|
<Grid Background="#FFE5E5E5">
|
|
|
|
|
<kui:PagingDataGrid x:Name="dataGridJMXX" HorizontalAlignment="Stretch" IsReadOnly="True" VerticalAlignment="Stretch" AutoGenerateColumns="False" >
|
|
|
|
|
<DataGrid.Columns>
|
|
|
|
|
<DataGridTextColumn Header="状态" Binding="{Binding [ZT], Mode=TwoWay}" />
|
|
|
|
|
<DataGridTextColumn Header="证书代码" Binding="{Binding [ZSDM]}" />
|
|
|
|
|
<DataGridTextColumn Header="数字证书" Binding="{Binding [SZZS]}" />
|
|
|
|
|
<DataGridTextColumn Header="证书颁发机构代码" Binding="{Binding [ZSBFJGDM]}" />
|
|
|
|
|
<DataGridTextColumn Header="证书颁发机构公钥" Binding="{Binding [ZSBFJGGY]}" />
|
|
|
|
|
<DataGridTextColumn Header="区块链访问地址" Binding="{Binding [QKLFWDZ]}" />
|
|
|
|
|
</DataGrid.Columns>
|
|
|
|
|
</kui:PagingDataGrid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</TabItem>
|
|
|
|
|
</TabControl>
|
|
|
|
|
<Label Name="stateLabel" Content="" Grid.Row="2" Grid.ColumnSpan="3" VerticalContentAlignment="Center" Margin="8,0"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Window>
|