|
|
|
|
<UserControl x:Class="Kingo.Plugin.BoundaryReadjust.View.UCGJAndLMXAdjust"
|
|
|
|
|
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:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
|
|
|
|
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
|
|
|
|
xmlns:kui="clr-namespace:KUI;assembly=KUI"
|
|
|
|
|
xmlns:btn="clr-namespace:KUI.Button;assembly=KUI"
|
|
|
|
|
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
|
|
|
|
xmlns:av1="http://schemas.microsoft.com/netfx/2007/xaml/presentation"
|
|
|
|
|
mc:Ignorable="d"
|
|
|
|
|
d:DesignHeight="400" d:DesignWidth="700" Width="1024" Height="580" >
|
|
|
|
|
<Grid>
|
|
|
|
|
<dxlc:LayoutControl Orientation="Vertical">
|
|
|
|
|
<dxlc:LayoutGroup Orientation="Horizontal">
|
|
|
|
|
<dxlc:LayoutGroup Orientation="Vertical">
|
|
|
|
|
<dxlc:LayoutGroup>
|
|
|
|
|
<dxlc:LayoutItem IsRequired="True" Label="调整后县级控制界线:" Height="27" LabelPosition="Left">
|
|
|
|
|
<TextBox IsReadOnly="True" Text="县级控制界线" Tag="XJKZJX" VerticalContentAlignment="Center" />
|
|
|
|
|
</dxlc:LayoutItem>
|
|
|
|
|
<dxlc:LayoutItem IsRequired="True" Label="调整前陆地控制面积(㎡):" Height="27" Width="300" LabelPosition="Left">
|
|
|
|
|
<TextBox x:Name="txtBGQKZMJ" Tag="BGQKZMJ" VerticalContentAlignment="Center" />
|
|
|
|
|
</dxlc:LayoutItem>
|
|
|
|
|
<dxlc:LayoutItem IsRequired="True" Label="调整后陆地控制面积(㎡):" Height="27" Width="300" LabelPosition="Left">
|
|
|
|
|
<TextBox IsReadOnly="True" x:Name="txtBGHKZMJ" Text="" Tag="BGHKZMJ" VerticalContentAlignment="Center" />
|
|
|
|
|
</dxlc:LayoutItem>
|
|
|
|
|
</dxlc:LayoutGroup>
|
|
|
|
|
<dxlc:LayoutGroup>
|
|
|
|
|
<dxlc:LayoutItem IsRequired="True" Label="新增地类图斑数据:" LabelHorizontalAlignment="Right" ToolTip="请选择需要划入到本县的基础数据" Height="27" LabelPosition="Left">
|
|
|
|
|
<dxe:ButtonEdit x:Name="btnSelectedDLTBPath" AllowDefaultButton="False">
|
|
|
|
|
<dxe:ButtonInfo x:Name="btnSelectedDLTBData" Content="选择" >
|
|
|
|
|
<dxe:ButtonInfo.Template>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<btn:KImgButton Content="选择" Click="btnSelectXZDLTB_Click" />
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</dxe:ButtonInfo.Template>
|
|
|
|
|
</dxe:ButtonInfo>
|
|
|
|
|
</dxe:ButtonEdit>
|
|
|
|
|
</dxlc:LayoutItem>
|
|
|
|
|
|
|
|
|
|
<dxlc:LayoutItem IsRequired="True" Label="调整前海岛控制面积(㎡):" Height="27" Width="300" LabelPosition="Left">
|
|
|
|
|
<TextBox x:Name="txtBGQHDKZMJ" Tag="BGQKZMJ" VerticalContentAlignment="Center" />
|
|
|
|
|
</dxlc:LayoutItem>
|
|
|
|
|
<dxlc:LayoutItem IsRequired="True" Label="调整后海岛控制面积(㎡):" Height="27" Width="300" LabelPosition="Left">
|
|
|
|
|
<TextBox IsReadOnly="True" x:Name="txtBGHHDKZMJ" Text="" Tag="BGHKZMJ" VerticalContentAlignment="Center" />
|
|
|
|
|
</dxlc:LayoutItem>
|
|
|
|
|
</dxlc:LayoutGroup>
|
|
|
|
|
</dxlc:LayoutGroup>
|
|
|
|
|
<dxlc:LayoutItem IsRequired="True" Label="" LabelPosition="Left" LabelHorizontalAlignment="Right" VerticalAlignment="Center" Width="80" Height="54">
|
|
|
|
|
<btn:KImgButton x:Name="btnImportData" Content="确 定" Click="btnExtractData_Click" />
|
|
|
|
|
</dxlc:LayoutItem>
|
|
|
|
|
</dxlc:LayoutGroup>
|
|
|
|
|
<dxlc:LayoutGroup Orientation="Horizontal">
|
|
|
|
|
<dxlc:LayoutItem IsRequired="True" Label="新增与灭失图斑:" dxlc:LayoutControl.AllowHorizontalSizing="True" VerticalAlignment="Stretch" LabelPosition="Top">
|
|
|
|
|
<dxg:GridControl AutoPopulateColumns="False" Name="dgInto" AutoGenerateColumns="AddNew" AutoGeneratedColumns="DgInto_AutoGeneratedColumns" CustomColumnGroup="DgInto_CustomColumnGroup">
|
|
|
|
|
<dxg:GridControl.View>
|
|
|
|
|
<dxg:TableView Name="tvAttr2" IsColumnMenuEnabled="False" ShowTotalSummary="False" ShowFilterPanelMode="Never" AllowPerPixelScrolling="False" ShowFixRowButton="Never" ShowFixedTotalSummary="False"
|
|
|
|
|
ShowSearchPanelMode="Never" AllowGrouping="False" MultiSelectMode="Row" AllowBestFit="False" ShowGroupPanel="False" ShowAutoFilterRow="False" AllowFilterEditor="False" />
|
|
|
|
|
</dxg:GridControl.View>
|
|
|
|
|
<dxg:GridControl.Columns>
|
|
|
|
|
<dxg:GridColumn FieldName="IsValid" Header="选中" VisibleIndex="0" AllowEditing="False" AllowSorting="False" >
|
|
|
|
|
<dxg:GridColumn.CellTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<CheckBox IsChecked="{Binding Data.IsValid,Mode=TwoWay}"
|
|
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" Click="CheckBox_Click_1">
|
|
|
|
|
</CheckBox>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</dxg:GridColumn.CellTemplate>
|
|
|
|
|
</dxg:GridColumn>
|
|
|
|
|
<dxg:GridColumn Header="定位" SortIndex="0" Binding="{Binding}" HorizontalHeaderContentAlignment="Center" FieldName="Check" Width="50" >
|
|
|
|
|
<dxg:GridColumn.CellTemplate x:Uid="cl">
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<kui:KFontIconButton BorderThickness="0" Content="定位" Tag="{av1:Binding RowData.Row}" PressedBackground="White" MouseOverBackground="White" MouseOverForeground="Red" PressedForeground="Red" FIcon="" Click="KFontIconButton_Click" />
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</dxg:GridColumn.CellTemplate>
|
|
|
|
|
</dxg:GridColumn>
|
|
|
|
|
</dxg:GridControl.Columns>
|
|
|
|
|
</dxg:GridControl>
|
|
|
|
|
</dxlc:LayoutItem>
|
|
|
|
|
<dxlc:LayoutItem IsRequired="True" Label="提取情况说明:" VerticalAlignment="Stretch" MaxWidth="230" LabelPosition="Top">
|
|
|
|
|
<Grid Grid.Column="2">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<CheckBox x:Name="ckbCheckAll" Content="全选行政区调整类型:3" Margin="5,8" Click="ckbCheckAll_Click" />
|
|
|
|
|
<dxe:ComboBoxEdit x:Name="cobZLDW" AllowDefaultButton="False" IsTextEditable="False" Margin="5,8" FontWeight="Bold" >
|
|
|
|
|
<dxe:ComboBoxEdit.Buttons>
|
|
|
|
|
<dxe:ButtonInfo x:Name="SetZLDW" Content="新增图斑坐落统赋" Click="SetZLDW_Click"/>
|
|
|
|
|
</dxe:ComboBoxEdit.Buttons>
|
|
|
|
|
</dxe:ComboBoxEdit>
|
|
|
|
|
<dxe:ComboBoxEdit x:Name="cobQSDWLX" AllowDefaultButton="False" IsTextEditable="False" Margin="5,8" FontWeight="Bold" >
|
|
|
|
|
<dxe:ComboBoxEdit.Buttons>
|
|
|
|
|
<dxe:ButtonInfo x:Name="SetQSDW" Content="新增图斑权属统赋" Click="SetQSDW_Click"/>
|
|
|
|
|
</dxe:ComboBoxEdit.Buttons>
|
|
|
|
|
<dxe:ComboBoxEditItem Content="随坐落变化"/>
|
|
|
|
|
<dxe:ComboBoxEditItem Content="随坐落变化(飞入地除外)"/>
|
|
|
|
|
</dxe:ComboBoxEdit>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</dxlc:LayoutItem>
|
|
|
|
|
</dxlc:LayoutGroup>
|
|
|
|
|
<dxlc:LayoutItem>
|
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Height="30">
|
|
|
|
|
<Label x:Name="lblCount" FontFamily="微软雅黑" VerticalContentAlignment="Center" Margin="5,0"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</dxlc:LayoutItem>
|
|
|
|
|
</dxlc:LayoutControl>
|
|
|
|
|
</Grid>
|
|
|
|
|
</UserControl>
|