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.
132 lines
11 KiB
132 lines
11 KiB
<UserControl x:Class="Kingo.Plugin.NYYP.View.UCJCTBYPDetails" |
|
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:local="clr-namespace:Kingo.Plugin.NYYP.View" |
|
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core" |
|
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:localtree="clr-namespace:Kingo.Plugin.NYYP" |
|
mc:Ignorable="d" |
|
d:DesignHeight="700" d:DesignWidth="500"> |
|
<UserControl.Resources> |
|
<ControlTemplate x:Key="ScrollViewerControlTemplate" TargetType="{x:Type ScrollViewer}"> |
|
<Grid x:Name="Grid" Background="{TemplateBinding Background}"> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="*"/> |
|
<ColumnDefinition Width="Auto"/> |
|
</Grid.ColumnDefinitions> |
|
<ScrollContentPresenter x:Name="PART_ScrollContentPresenter" CanContentScroll="{TemplateBinding CanContentScroll}" CanHorizontallyScroll="False" CanVerticallyScroll="False" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Grid.Column="0" Margin="{TemplateBinding Padding}" /> |
|
<ScrollBar x:Name="PART_VerticalScrollBar" AutomationProperties.AutomationId="VerticalScrollBar" Cursor="Arrow" Grid.Column="1" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Value="{Binding VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}" Style="{DynamicResource ScrollBarStyle1}" Width="5" MinWidth="5"/> |
|
</Grid> |
|
</ControlTemplate> |
|
</UserControl.Resources> |
|
|
|
<Grid Margin="5"> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="*"/> |
|
<!--<RowDefinition Height="auto"/> |
|
<RowDefinition Height="auto"/> |
|
<RowDefinition Height="auto"/>--> |
|
</Grid.RowDefinitions> |
|
<ScrollViewer Grid.Row="0" Grid.Column="0" x:Name="scrollContent" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto" Template="{DynamicResource ScrollViewerControlTemplate}"> |
|
<Grid x:Name="JCTBInfo" Background="White" > |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="Auto" /> |
|
<RowDefinition Height="Auto" /> |
|
<RowDefinition Height="Auto" /> |
|
<RowDefinition Height="Auto" /> |
|
<!--<RowDefinition Height="Auto" />--> |
|
</Grid.RowDefinitions> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="5" /> |
|
<ColumnDefinition Width="*" /> |
|
<ColumnDefinition Width="5" /> |
|
</Grid.ColumnDefinitions> |
|
<Grid Grid.Row="0" Grid.Column="1"> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="50" /> |
|
<RowDefinition Height="Auto" /> |
|
<RowDefinition Height="Auto" /> |
|
<RowDefinition Height="Auto" /> |
|
<RowDefinition Height="Auto" /> |
|
<RowDefinition Height="Auto" /> |
|
<RowDefinition Height="Auto" /> |
|
<RowDefinition Height="Auto" /> |
|
<RowDefinition Height="Auto" /> |
|
</Grid.RowDefinitions> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="110"/> |
|
<ColumnDefinition Width="*"/> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<StackPanel Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="4" Background="#F6F6F6" Orientation="Horizontal" Height="34"> |
|
<Image Source="/Kingo.Plugin.NYYP;component/Images/test.png" VerticalAlignment="Top" Height="18" Width="18" Margin="5,9,5,0"/> |
|
<TextBlock VerticalAlignment="Center" Text="基本信息"></TextBlock> |
|
</StackPanel> |
|
|
|
<TextBlock Grid.Column="0" Grid.Row="1" Text="监测图斑编号" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0" ></TextBlock> |
|
<TextBox Grid.Column="1" Grid.Row="1" x:Name="txtJCBH" Height="34" Margin="1,5,10,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsReadOnly="True" Background="#F6F6F6" Text="{Binding [JCBH], UpdateSourceTrigger=PropertyChanged}" /> |
|
<TextBlock Grid.Column="0" Grid.Row="2" Text="图斑类型" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0"></TextBlock> |
|
<TextBox Grid.Column="1" Grid.Row="2" Name="txtTBLX" Height="34" Margin="1,5,10,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsReadOnly="True" Background="#F6F6F6" Text="{Binding [TBLX], UpdateSourceTrigger=PropertyChanged}"/> |
|
<TextBlock Grid.Column="0" Grid.Row="3" Text="监测面积" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0"></TextBlock> |
|
<TextBox Grid.Column="1" Grid.Row="3" Name="txtJCMJ" Height="34" Margin="1,5,10,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsReadOnly="True" Background="#F6F6F6" Text="{Binding [JCMJ], UpdateSourceTrigger=PropertyChanged}" /> |
|
<TextBlock Grid.Column="0" Grid.Row="4" Text="图斑特征" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0"></TextBlock> |
|
<TextBox Grid.Column="1" Grid.Row="4" Name="txtTZ" Height="34" Margin="1,5,10,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsReadOnly="True" Background="#F6F6F6" Text="{Binding [TZ], UpdateSourceTrigger=PropertyChanged}" /> |
|
<TextBlock Grid.Column="0" Grid.Row="5" Text="县级行政区代码" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0" ></TextBlock> |
|
<TextBox Grid.Column="1" Grid.Row="5" x:Name="txtXZQDM" Height="34" Margin="1,5,10,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsReadOnly="True" Background="#F6F6F6" Text="{Binding [XZQDM], UpdateSourceTrigger=PropertyChanged}"/> |
|
<TextBlock Grid.Column="0" Grid.Row="6" Text="县级行政区名称" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0"></TextBlock> |
|
<TextBox Grid.Column="1" Grid.Row="6" Name="txtXZQMC" Height="34" Margin="1,5,10,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsReadOnly="True" Background="#F6F6F6" Text="{Binding [XMC], UpdateSourceTrigger=PropertyChanged}"/> |
|
<TextBlock Grid.Column="0" Grid.Row="7" Text="中心点X坐标" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0"></TextBlock> |
|
<TextBox Grid.Column="1" Grid.Row="7" Name="txtXCor" Height="34" Margin="1,5,10,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsReadOnly="True" Background="#F6F6F6" Text="{Binding [XZB], UpdateSourceTrigger=PropertyChanged}"/> |
|
<TextBlock Grid.Column="0" Grid.Row="8" Text="中心点Y坐标" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0"></TextBlock> |
|
<TextBox Grid.Column="1" Grid.Row="8" Name="txtYCor" Height="34" Margin="1,5,10,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsReadOnly="True" Background="#F6F6F6" Text="{Binding [YZB], UpdateSourceTrigger=PropertyChanged}" /> |
|
</Grid> |
|
|
|
<Grid Grid.Row="2" Grid.Column="1" x:Name="gridInterpretaion" Background="White"> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="50" /> |
|
<RowDefinition Height="35" /> |
|
<RowDefinition Height="35" /> |
|
<RowDefinition Height="0" /> |
|
<RowDefinition Height="80" /> |
|
</Grid.RowDefinitions> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="110"/> |
|
<ColumnDefinition Width="*"/> |
|
</Grid.ColumnDefinitions> |
|
|
|
<StackPanel Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="4" Background="#F6F6F6" Orientation="Horizontal" Height="34"> |
|
<Image Source="/Kingo.Plugin.NYYP;component/Images/test.png" VerticalAlignment="Top" Height="18" Width="18" Margin="5,9,5,0"/> |
|
<TextBlock VerticalAlignment="Center" Text="内业预判"></TextBlock> |
|
</StackPanel> |
|
|
|
<Label Content="是否举证" Grid.Row="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" Margin="10,0,0,0"/> |
|
<RadioButton Content="是" Foreground="DarkBlue" Name="rbtnWYTrue" Grid.Column="1" Grid.Row="1" VerticalAlignment="Center" Margin="10,0,0,0"/> |
|
<RadioButton Content="否" Foreground="DarkBlue" Name="rbtnWYFalse" Grid.Column="1" Grid.Row="1" VerticalAlignment="Center" Margin="80,0,0,0"/> |
|
|
|
<Label Content="内业预判地类" Grid.Row="2" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" Margin="10,0,0,0"/> |
|
<localtree:AutoCompleteComboBox Grid.Column="1" Grid.Row="2" IsEditable="True" Height="30" Margin="1,2,10,3" FontSize="16" |
|
TextSearch.TextPath="NodeName" |
|
DisplayMemberPath="NodeName" SelectedValuePath="NodeID" |
|
IsTextSearchEnabled="True" |
|
x:Name="cmbCtr" VerticalAlignment="Center"> |
|
|
|
</localtree:AutoCompleteComboBox> |
|
|
|
<Label Content="内业建议" Grid.Row="4" VerticalContentAlignment="Top" HorizontalContentAlignment="Left" Margin="10,20,0,0"/> |
|
<TextBox Grid.Column="1" Grid.Row="4" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Margin="1,10,10,0" TextWrapping="Wrap" Text="{Binding [NYJY], UpdateSourceTrigger=PropertyChanged}" AcceptsReturn="True" ></TextBox> |
|
</Grid> |
|
<Grid Background="White" Grid.Row="3" Grid.Column="1" Margin="15,30,15,0"> |
|
|
|
<kui:KFontIconButton Grid.Row="1" Grid.Column="1" FIcon="" HorizontalAlignment="Center" Visibility="Visible" VerticalAlignment="Center" Width="80" Height="25" x:Name="btnSave" Content="保存" Click="BtnSave_Click" /> |
|
<kui:KFontIconButton Grid.Row="0" Grid.Column="0" FIcon="" HorizontalAlignment="Left" VerticalAlignment="Center" Width="80" Height="25" Name="btnPrev" Content="上一个" Click="BtnPrev_Click"/> |
|
<kui:KFontIconButton Grid.Row="0" Grid.Column="2" FIcon="" HorizontalAlignment="Right" VerticalAlignment="Center" Width="80" Height="25" Name="btnNext" Content="下一个" Click="BtnNext_Click"/> |
|
</Grid> |
|
</Grid> |
|
</ScrollViewer> |
|
</Grid> |
|
</UserControl>
|
|
|