|
|
|
|
<UserControl x:Class="Kingo.Plugin.General.View.UCWyfjInfo"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
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"
|
|
|
|
|
mc:Ignorable="d"
|
|
|
|
|
d:DesignHeight="450" d:DesignWidth="800">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="25"></RowDefinition>
|
|
|
|
|
<RowDefinition Height="400"></RowDefinition>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid Grid.Row="0">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="100"></ColumnDefinition>
|
|
|
|
|
<ColumnDefinition Width="100"></ColumnDefinition>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Button x:Name="addFJButton" Content="添加附件" Click="addFJButton_Click" Width="80" Margin="5,1" HorizontalAlignment ="Left" Grid.Column="0"/>
|
|
|
|
|
<Button x:Name="deleteFJButton" Content="删除附件" Click="deleteFJButton_Click" Width="80" Margin="5,1" HorizontalAlignment ="Left" Grid.Column="1"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
<DataGrid x:Name="dgdPdf" AutoGenerateColumns="False" CanUserAddRows="False" Grid.Row="1" Margin="5px,1" MinHeight="150px" ColumnHeaderHeight="23" >
|
|
|
|
|
<DataGrid.Columns>
|
|
|
|
|
<DataGridTextColumn Header="" Binding="{Binding Bsm}" Visibility="Collapsed"/>
|
|
|
|
|
<DataGridTemplateColumn Header="选择">
|
|
|
|
|
<DataGridTemplateColumn.CellTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
|
|
|
<CheckBox x:Name="cboxPdf" Click="cboxPdf_Click" IsChecked="{Binding Path=Sfxz, UpdateSourceTrigger=PropertyChanged}" ></CheckBox>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</DataGridTemplateColumn.CellTemplate>
|
|
|
|
|
</DataGridTemplateColumn>
|
|
|
|
|
<DataGridTextColumn Header="附件名称" Binding="{Binding Fjmc}" IsReadOnly="True" Width="45*">
|
|
|
|
|
<DataGridTextColumn.CellStyle>
|
|
|
|
|
<Style TargetType="DataGridCell">
|
|
|
|
|
<Setter Property="ToolTip" Value="{Binding Fjmc}" />
|
|
|
|
|
</Style>
|
|
|
|
|
</DataGridTextColumn.CellStyle>
|
|
|
|
|
</DataGridTextColumn>
|
|
|
|
|
<DataGridTextColumn Header="外业人员" Binding="{Binding Hcry}" IsReadOnly="True" Width="auto" />
|
|
|
|
|
<DataGridTextColumn Header="核查时间" Binding="{Binding Hcsj}" IsReadOnly="True" Width="auto" />
|
|
|
|
|
<DataGridTemplateColumn Header="">
|
|
|
|
|
<DataGridTemplateColumn.CellTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
|
|
|
<Button x:Name="btnPdf" Content="预览" Click="btnPdf_Click" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</DataGridTemplateColumn.CellTemplate>
|
|
|
|
|
</DataGridTemplateColumn>
|
|
|
|
|
</DataGrid.Columns>
|
|
|
|
|
</DataGrid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</UserControl>
|