|
|
|
|
<windows:BaseWindow x:Class="Kingo.Plugin.ResultsOfProof.View.JZTBXX.BGFrmJZTBXXBRelation"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils"
|
|
|
|
|
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:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
|
|
|
|
xmlns:cmd="clr-namespace:ReactiveUI;assembly=ReactiveUI"
|
|
|
|
|
mc:Ignorable="d" Title="人工校验" Width="422" ShowInTaskbar="False" WindowStartupLocation="Manual" Left="200" Top="120" Height="375"
|
|
|
|
|
>
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="120" />
|
|
|
|
|
<RowDefinition />
|
|
|
|
|
<RowDefinition Height="40" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<dxlc:LayoutControl Orientation="Vertical" Height="110" VerticalAlignment="Top">
|
|
|
|
|
<dxlc:LayoutItem Label="图斑预编号:" LabelPosition="Left">
|
|
|
|
|
<dxe:TextEdit Name="txeTBYBH" Height="25" IsReadOnly="True" Text="{Binding JCBH, UpdateSourceTrigger=PropertyChanged}"></dxe:TextEdit>
|
|
|
|
|
</dxlc:LayoutItem>
|
|
|
|
|
<dxlc:LayoutItem Label="外业认定地类:" LabelPosition="Left">
|
|
|
|
|
<dxe:TextEdit Height="25" IsReadOnly="True" Text="{Binding BGDL, UpdateSourceTrigger=PropertyChanged}"></dxe:TextEdit>
|
|
|
|
|
</dxlc:LayoutItem>
|
|
|
|
|
<dxlc:LayoutItem LabelPosition="Left" HorizontalAlignment="Right" Height="39" Margin="0,0,0,-14">
|
|
|
|
|
<Button Name="btnAddFJ" Content="{Binding btnContent,UpdateSourceTrigger=PropertyChanged}" Height="25" Width="165" HorizontalAlignment="Right" Command="{Binding AddFJCommand}"/>
|
|
|
|
|
</dxlc:LayoutItem>
|
|
|
|
|
</dxlc:LayoutControl>
|
|
|
|
|
<dxg:GridControl Name="dgGridControl" ItemsSource="{Binding Items, UpdateSourceTrigger=PropertyChanged}" Grid.Row="1" SelectedItem="{Binding CurrentItem,UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
|
|
|
|
|
MouseLeftButtonUp="{cmd:EventBinding GC_MouseLeftButtonUpCmd,CommandParameter=Event}">
|
|
|
|
|
<dxg:GridControl.View>
|
|
|
|
|
<dxg:TableView RowMinHeight="30" ShowTotalSummary="False" AllowGrouping="False" MultiSelectMode="Row"
|
|
|
|
|
ShowGroupPanel="False" AllowEditing="True" VerticalScrollbarVisibility="Auto" />
|
|
|
|
|
</dxg:GridControl.View>
|
|
|
|
|
<dxg:GridControl.Columns>
|
|
|
|
|
<dxg:GridColumn Header="标识码" FieldName="BSM" Width="*" ReadOnly="True" />
|
|
|
|
|
<dxg:GridColumn Header="地类编码" FieldName="DLBM" Width="80" ReadOnly="True" />
|
|
|
|
|
<dxg:GridColumn Header="地类名称" FieldName="DLMC" Width="80" ReadOnly="True" />
|
|
|
|
|
<dxg:GridColumn x:Name="DELFJ" Header="删除标识码" Width="80">
|
|
|
|
|
<dxg:GridColumn.CellTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<Button Name="btnDeleteFJ" Content="删除" Margin="3" Command="{Binding Path=DataContext.DeleteRowCommand,ElementName=dgGridControl}" CommandParameter="{Binding ElementName=dgGridControl}"/>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</dxg:GridColumn.CellTemplate>
|
|
|
|
|
</dxg:GridColumn>
|
|
|
|
|
</dxg:GridControl.Columns>
|
|
|
|
|
</dxg:GridControl>
|
|
|
|
|
<Grid Grid.Row="2">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<StackPanel Grid.Column="0" Orientation="Horizontal" HorizontalAlignment="Left">
|
|
|
|
|
<dxe:SpinButton Content="上一条" Margin="5,0,0,5" Height="25" Width="75" Command="{Binding PrevDataCommand}" />
|
|
|
|
|
<dxe:SpinButton Command="{Binding NextDataCommand}" Content="下一条" Margin="5,0,0,5" Height="25" Width="75" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Grid.Column="1" Orientation="Horizontal" Margin="5,0" HorizontalAlignment="Right">
|
|
|
|
|
<dxe:SpinButton Content="确 定" Margin="5,0,0,5" Height="25" Width="75" Command="{Binding ConirmCommand}" />
|
|
|
|
|
<dxe:SpinButton x:Name="btnCancel" Command="{Binding CancelCommand}" Content="取 消" Margin="5,0,0,5" Height="25" Width="75" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</windows:BaseWindow>
|