年度变更建库软件5.0版本
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.

70 lines
6.6 KiB

6 months ago
<UserControl x:Class="Kingo.Plugin.General.View.UCSHInfo"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
SizeChanged="UserControl_SizeChanged"
mc:Ignorable="d" >
<ScrollViewer Name="scrollViewer1" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
<Grid ScrollViewer.VerticalScrollBarVisibility="Auto">
<Grid.Resources>
<Style TargetType="TextBlock" x:Key="txt_Triggers">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Foreground" Value="Red" />
<Setter Property="FontSize" Value="15"/>
</Trigger>
</Style.Triggers>
</Style>
</Grid.Resources>
<Grid.RowDefinitions>
<RowDefinition Height="35"/>
<RowDefinition Height="Auto"/>
<!--<RowDefinition Height="35"/>
<RowDefinition Height="*"/>-->
</Grid.RowDefinitions>
<StackPanel Grid.Row="0" Background="#FFE0DFDF" Orientation="Horizontal">
<Image Source="/Kingo.Plugin.General;component/Resources/test.png" VerticalAlignment="Top" Height="18" Width="30" Margin="5,9,5,0"/>
<TextBlock VerticalAlignment="Center" Foreground="Red" Text="审核结果" FontWeight="Bold"></TextBlock>
</StackPanel>
<dxlc:LayoutControl Grid.Row="1" Orientation="Vertical">
<dxlc:LayoutItem Label="图斑标识码:" LabelHorizontalAlignment="Right">
<dxe:TextEdit x:Name="txtTBBSM" Height="27" IsReadOnly="True" Text="{Binding SHJG.TBBSM}"/>
</dxlc:LayoutItem>
<dxlc:LayoutItem Label="地类核查结果:" LabelHorizontalAlignment="Right">
<dxe:ComboBoxEdit x:Name="comBoxDLHCJG" Height="27" DisplayMember="Name" ValueMember="Code" IsTextEditable="False" AllowSpinOnMouseWheel="False" InvalidValueBehavior="AllowLeaveEditor" ShowNullTextForEmptyValue="True" NullText="请选择是否通过" EditValue="{Binding SHJG.DLHCJG, Mode=TwoWay}" SelectedIndexChanged="ComBoxDLHCJG_SelectedIndexChanged"/>
</dxlc:LayoutItem>
<dxlc:LayoutItem Label="地类核查说明:" x:Name="layoutDLHCSM" Visibility="Collapsed" LabelHorizontalAlignment="Right">
<dxe:ComboBoxEdit x:Name="comBoxDLHCSM" Height="27" DisplayMember="Name" ValueMember="Code" IsTextEditable="False" AllowSpinOnMouseWheel="False" InvalidValueBehavior="AllowLeaveEditor" SelectedIndexChanged="ComBoxDLHCSM_SelectedIndexChanged" ShowNullTextForEmptyValue="True" NullText="请选择地类核查说明" EditValue="{Binding SHJG.DLHCSM, Mode=TwoWay}" />
</dxlc:LayoutItem>
<dxlc:LayoutItem Label="属性核查结果:" LabelHorizontalAlignment="Right">
<dxe:ComboBoxEdit x:Name="comBoSXHCJG" Height="27" DisplayMember="Name" ValueMember="Code" IsTextEditable="False" AllowSpinOnMouseWheel="False" InvalidValueBehavior="AllowLeaveEditor" ShowNullTextForEmptyValue="True" NullText="请选择是否通过" EditValue="{Binding SHJG.SXHCJG, Mode=TwoWay}" SelectedIndexChanged="ComBoSXHCJG_SelectedIndexChanged"/>
</dxlc:LayoutItem>
<dxlc:LayoutItem Label="属性核查说明:" x:Name="layoutSXHCSM" Visibility="Collapsed" LabelHorizontalAlignment="Right">
<dxe:ComboBoxEdit x:Name="comBoxSXHCSM" Height="27" DisplayMember="Name" ValueMember="Code" IsTextEditable="False" AllowSpinOnMouseWheel="False" InvalidValueBehavior="AllowLeaveEditor" SelectedIndexChanged="ComBoxSXHCSM_SelectedIndexChanged" ShowNullTextForEmptyValue="True" NullText="请选择属性核查说明" EditValue="{Binding SHJG.SXHCSM, Mode=TwoWay}"/>
</dxlc:LayoutItem>
<dxlc:LayoutItem Label="图形核查结果:" LabelHorizontalAlignment="Right">
<dxe:ComboBoxEdit x:Name="comBoxTXHCJG" Height="27" DisplayMember="Name" ValueMember="Code" IsTextEditable="False" AllowSpinOnMouseWheel="False" InvalidValueBehavior="AllowLeaveEditor" ShowNullTextForEmptyValue="True" NullText="请选择是否通过" EditValue="{Binding SHJG.TXHCJG, Mode=TwoWay}" SelectedIndexChanged="ComBoxTXHCJG_SelectedIndexChanged"/>
</dxlc:LayoutItem>
<dxlc:LayoutItem x:Name="layoutTXHCSM" Visibility="Collapsed" Label="图形核查说明:" LabelHorizontalAlignment="Right">
<dxe:ComboBoxEdit x:Name="comBoxTXHCSM" Height="27" DisplayMember="Name" ValueMember="Code" IsTextEditable="False" AllowSpinOnMouseWheel="False" InvalidValueBehavior="AllowLeaveEditor" SelectedIndexChanged="ComBoxTXHCSM_SelectedIndexChanged" ShowNullTextForEmptyValue="True" NullText="请选择图形核查说明" EditValue="{Binding SHJG.TXHCSM, Mode=TwoWay}"/>
</dxlc:LayoutItem>
<dxlc:LayoutItem Label="核查人员:" LabelHorizontalAlignment="Right">
<dxe:TextEdit x:Name="txtHCRY" Height="27" IsReadOnly="True" Text="{Binding SHJG.SHRY}"/>
</dxlc:LayoutItem>
<dxlc:LayoutItem Label="审核说明:" LabelHorizontalAlignment="Right">
<dxe:TextEdit x:Name="txtWBGYY" Height="100" TextWrapping="Wrap" LostFocus="TxtWBGYY_LostFocus" GotFocus="TxtWBGYY_GotFocus" VerticalContentAlignment="Top" AcceptsReturn="True" VerticalScrollBarVisibility="Visible" MaxHeight="100" VerticalAlignment="Top" HorizontalAlignment="Stretch" HorizontalScrollBarVisibility="Auto" Text="{Binding SHJG.SHSM}"/>
</dxlc:LayoutItem>
<dxlc:LayoutItem Label="审核时间:" LabelHorizontalAlignment="Right">
<dxe:TextEdit x:Name="txtBGHDL" Height="27" IsReadOnly="True" Text="{Binding SHJG.SHSJ}"/>
</dxlc:LayoutItem>
<dxlc:LayoutItem Label="审核级别:" LabelHorizontalAlignment="Right">
<dxe:TextEdit x:Name="txtBGFW" Height="27" IsReadOnly="True" Text="{Binding SHJG.SHJB}"/>
</dxlc:LayoutItem>
</dxlc:LayoutControl>
</Grid>
</ScrollViewer>
</UserControl>