|
|
|
|
<windows:BaseWindow
|
|
|
|
|
xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils"
|
|
|
|
|
x:Class="Kingo.Plugin.BGResultManager.View.FrmHKExport"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
|
|
|
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
|
|
|
|
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
|
|
|
|
xmlns:kuiBtn="clr-namespace:KUI.Button;assembly=KUI"
|
|
|
|
|
mc:Ignorable="d" Title="合库成果导出" ResizeMode="CanResize"
|
|
|
|
|
Height="600" Width="1000">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="50"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="50"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid Grid.Row="0" Grid.ColumnSpan="2">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="140"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="270"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Label Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0">选择需合库数据来源:</Label>
|
|
|
|
|
<TextBox x:Name="PathNCM" Grid.Column="1" VerticalAlignment="Center" Height="30" IsReadOnly="True"></TextBox>
|
|
|
|
|
<StackPanel Grid.Column="2" Orientation="Horizontal" >
|
|
|
|
|
<kuiBtn:KImgButton x:Name="SelHKPath" Content="选择需合库GDB文件夹" Width="150" Height="30" CornerRadius="3" Margin="5,0" Foreground="White" Click="btnSelectedHKPath_Click" />
|
|
|
|
|
<kuiBtn:KImgButton x:Name="btnDelPath" Content="删除勾选路径" Height="30" Width="96" Click="btnDeletePath_Click" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
<dxg:GridControl x:Name="dgTableMapping" SelectionMode="Row" HorizontalAlignment="Center" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2">
|
|
|
|
|
<dxg:GridControl.View>
|
|
|
|
|
<dxg:TableView Name="tvAttrDTB" IsColumnMenuEnabled="False" RowMinHeight="30" AllowColumnFiltering="True" ShowTotalSummary="False" AllowSorting="True" AllowGrouping="False" ShowGroupPanel="False" AllowEditing="True" HorizontalContentAlignment="Center" VerticalScrollbarVisibility="Auto" HorizontalAlignment="Center" ShowAutoFilterRow="True" AllowBandMultiRow="False"/>
|
|
|
|
|
</dxg:GridControl.View>
|
|
|
|
|
<dxg:GridControl.Columns>
|
|
|
|
|
<dxg:GridColumn Header="导入状态" x:Name="chkSelectedAll" Width="50" HorizontalHeaderContentAlignment="Center" >
|
|
|
|
|
<dxg:GridColumn.HeaderTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<dxe:CheckEdit x:Name="AllCheckEidt" HorizontalAlignment="Center" HorizontalContentAlignment="Center" IsChecked="True" EditValueChanged="AllCheckEidt_EditValueChanged" />
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</dxg:GridColumn.HeaderTemplate>
|
|
|
|
|
<dxg:GridColumn.CellTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
|
|
|
|
|
<CheckBox x:Name="checkBox" HorizontalAlignment="Center" VerticalAlignment="Center" IsChecked="{Binding RowData.Row.Ischeck,Mode=TwoWay}" Click="checkBox_Click" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</dxg:GridColumn.CellTemplate>
|
|
|
|
|
</dxg:GridColumn>
|
|
|
|
|
<dxg:GridColumn Header="图层名" FieldName="LayerName" Width="120" ReadOnly="True" HorizontalHeaderContentAlignment="Center"/>
|
|
|
|
|
<dxg:GridColumn Header="图层别名" FieldName="LayerAliasName" Width="150" ReadOnly="True" HorizontalHeaderContentAlignment="Center"/>
|
|
|
|
|
<dxg:GridColumn Header="文件位置" FieldName="LayerPath" Width="*" ReadOnly="True" HorizontalHeaderContentAlignment="Center"/>
|
|
|
|
|
</dxg:GridControl.Columns>
|
|
|
|
|
</dxg:GridControl>
|
|
|
|
|
<Grid Grid.Row="2" Grid.ColumnSpan="2" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="10">
|
|
|
|
|
<kuiBtn:KImgButton x:Name="btnOK" Content="确 定" Width="70" Height="27" CornerRadius="3" Margin="0,0,120,0" Foreground="White" Click="BtnOK_Click" />
|
|
|
|
|
<kuiBtn:KImgButton x:Name="btnCanel" Content="关 闭" Width="70" Height="27" CornerRadius="3" Margin="120,0,0,0" Foreground="White" Click="BtnCanel_Click" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</windows:BaseWindow>
|