|
|
|
|
<window:BaseWindow
|
|
|
|
|
xmlns:window="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils"
|
|
|
|
|
x:Class="Kingo.Plugin.LocationChange.View.FrmLocationChange"
|
|
|
|
|
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:btn="clr-namespace:KUI.Button;assembly=KUI"
|
|
|
|
|
xmlns:kui="clr-namespace:KUI;assembly=KUI"
|
|
|
|
|
xmlns:dxg="clr-namespace:DevExpress.Xpf.Grid;assembly=DevExpress.Xpf.Grid.v17.1"
|
|
|
|
|
mc:Ignorable="d" Title="坐落信息变更" Height="420" Width="520">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="30" />
|
|
|
|
|
<RowDefinition Height="30" />
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="50" />
|
|
|
|
|
<RowDefinition Height="70" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="100"/>
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
<ColumnDefinition Width="50"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" Grid.ColumnSpan="3">
|
|
|
|
|
<RadioButton Content="行政区" Margin="50,0" GroupName="type" />
|
|
|
|
|
<RadioButton x:Name="rbtCJ" Content="村级调查区" Margin="50,0" GroupName="type" IsChecked="True" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="1" Grid.ColumnSpan="3">
|
|
|
|
|
<Label Content="范围图斑:" VerticalAlignment="Center" HorizontalAlignment="Left" Grid.Row="0" Margin="5,0,0,0"/>
|
|
|
|
|
<TextBox x:Name="btnNewData" Grid.Column="1" Height="24" Width="90"/>
|
|
|
|
|
<btn:KImgButton Height="24" x:Name="btnSelTB" Margin="5,0" VerticalContentAlignment="Center" Content="选择范围" Click="BtnSelTB_Click" />
|
|
|
|
|
<btn:KImgButton Height="24" x:Name="btnOpenFile" Margin="5,0" VerticalContentAlignment="Center" Content="打开文件" Click="BtnOpenFile_Click" />
|
|
|
|
|
<btn:KImgButton Height="24" x:Name="btnAddRow" Margin="5,0" VerticalContentAlignment="Center" Content="添加行" Click="BtnAddRow_Click" />
|
|
|
|
|
<btn:KImgButton Height="24" x:Name="btnDelRow" Margin="5,0" VerticalContentAlignment="Center" Content="删除选中" Click="BtnDelRow_Click" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<dxg:GridControl x:Name="gvCtrl" HorizontalAlignment="Stretch" Margin="0,8" Grid.Row="2" Grid.ColumnSpan="3" AutoGenerateColumns="AddNew" VerticalAlignment="Stretch">
|
|
|
|
|
<dxg:GridControl.View>
|
|
|
|
|
<dxg:TableView Name="tvAttr2" IsColumnMenuEnabled="False" ShowTotalSummary="False" ShowSearchPanelMode="Never" AllowGrouping="True" MultiSelectMode="Row" ShowGroupPanel="False" ShowAutoFilterRow="True" AllowFilterEditor="False" />
|
|
|
|
|
</dxg:GridControl.View>
|
|
|
|
|
</dxg:GridControl>
|
|
|
|
|
<TextBlock x:Name="txtTip" Margin="20,0" Grid.Row="3" Foreground="Red" Grid.ColumnSpan="3" TextWrapping="WrapWithOverflow" Text="注:此功能是针对仅坐落单位信息发生变更,其他属性及图形未发生变化的数据进行处理,如其他属性或图形发生发生变更,请提取变更图斑后进行图斑变更操作;如选择范围图斑进行坐落变更,则不再区分行政区与村级调查区;" VerticalAlignment="Center" />
|
|
|
|
|
<StackPanel Grid.ColumnSpan="3" Grid.Row="5" VerticalAlignment="Center" Orientation="Horizontal" HorizontalAlignment="Center">
|
|
|
|
|
<btn:KImgButton Height="30" x:Name="btnOK" VerticalContentAlignment="Center" Margin="10,0" Content="更新坐落信息" Click="BtnOK_Click" />
|
|
|
|
|
<btn:KImgButton Height="30" x:Name="btnOK2" VerticalContentAlignment="Center" Margin="10,0" Content="处理同属性图斑合并" Click="BtnOK2_Click" />
|
|
|
|
|
<btn:KImgButton Height="30" x:Name="btnCancel" VerticalContentAlignment="Center" Margin="10,0" Content="取 消" Click="BtnCancel_Click" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<kui:LoadingControl x:Name="loading" Grid.ColumnSpan="3" Grid.RowSpan="3" Visibility="Collapsed" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</window:BaseWindow>
|