You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
4.1 KiB
55 lines
4.1 KiB
<windows:BaseWindow |
|
xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils" |
|
x:Class="Kingo.Plugin.BGSetting.View.FrmKCDLXSWH" |
|
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" |
|
mc:Ignorable="d" Title="扣除地类系数设置" |
|
Width="450" Height="500" ResizeMode="NoResize"> |
|
<Grid Margin="0,0,0,-3"> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="260"></RowDefinition> |
|
<RowDefinition Height="20"></RowDefinition> |
|
<RowDefinition Height="100"></RowDefinition> |
|
<RowDefinition Height="30"></RowDefinition> |
|
<RowDefinition Height="60"></RowDefinition> |
|
</Grid.RowDefinitions> |
|
<dxg:GridControl x:Name="dgData" AutoGenerateColumns="KeepOld" VerticalAlignment="Top" Height="260"> |
|
<dxg:GridControl.View> |
|
<dxg:TableView Name="dgDataView" IsColumnMenuEnabled="False" IndicatorWidth="0" AllowSorting="False" AllowBestFit="True" AllowColumnFiltering="False" ShowGroupedColumns="True" ShowGroupPanel="False" ShowAutoFilterRow="False" AllowEditing="True" ShowSearchPanelMode="Never" ShowSearchPanelCloseButton="False" ShowSearchPanelFindButton="False" SearchPanelFindFilter="Contains" SearchPanelFindMode="FindClick" SearchPanelHorizontalAlignment="Stretch" BestFitMode="Smart" ShowSearchPanelMRUButton="False" ShowFilterPanelMode="Never" > |
|
</dxg:TableView> |
|
</dxg:GridControl.View> |
|
<dxg:GridControl.Columns> |
|
<dxg:GridColumn FieldName="GDPDJBMC" Header="耕地类型" VisibleIndex="1" HorizontalHeaderContentAlignment="Center" Width="*" /> |
|
<dxg:GridColumn x:Name="KCDLXSWH" FieldName="KCDLXS" Header="扣除地类系数" AllowEditing="True" VisibleIndex="2" HorizontalHeaderContentAlignment="Center" Width="*" /> |
|
</dxg:GridControl.Columns> |
|
</dxg:GridControl> |
|
<StackPanel Grid.Row="1"> |
|
<CheckBox Name="cbIgnore" Content="忽略已经填写的扣除地类系数" HorizontalAlignment="Center" VerticalAlignment="Center" /> |
|
</StackPanel> |
|
<StackPanel Grid.Row="2"> |
|
<GroupBox Header="注意:" HorizontalAlignment="Center" VerticalAlignment="Center"> |
|
<TextBlock> |
|
1、如果已经填写了部分扣除地类系数需要保留,请勾选“忽略已填写 |
|
<LineBreak /> |
|
的扣除地类系数”。 |
|
<LineBreak /> |
|
2、梯田系数,坡地系数请填写真实值,不须乘100。 |
|
<LineBreak /> |
|
<TextBox MouseDoubleClick="TextBox_MouseDoubleClick" IsReadOnly="True" Margin="10,5,0,0" Foreground="Blue">扣除地类系数设置导入模板,此处双击下载</TextBox> |
|
</TextBlock> |
|
</GroupBox> |
|
</StackPanel> |
|
<StackPanel Grid.Row="3" Orientation="Horizontal" VerticalAlignment="Top"> |
|
<TextBlock Text="注:通过索引数据字典中耕地类型与扣除地类系数的对应关系,将地类图斑中各个耕地类型对应的扣除地类系数赋值到地类图斑中" Margin="8,0" TextWrapping="Wrap" Width="430" Foreground="Red" ></TextBlock> |
|
</StackPanel> |
|
<StackPanel Grid.Row="4" Orientation="Horizontal"> |
|
<Button x:Name="btnApple" Content="导 入" Width="80" Height="27" Margin="30,0,10,0" Click="btnImport_Click" /> |
|
<Button x:Name="btnExtra" Content="提 取" Width="80" Height="27" Margin="10,0" Click="btnExtract_Click" /> |
|
<Button x:Name="btnAssig" Content="保 存" Width="80" Height="27" Margin="10,0" Click="btnApple_Click" /> |
|
<Button x:Name="btnSures" Content="取 消" Width="80" Height="27" Margin="10,0" Click="btnConfirm_Click" /> |
|
</StackPanel> |
|
</Grid> |
|
</windows:BaseWindow>
|
|
|