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
5.1 KiB
70 lines
5.1 KiB
<UserControl x:Class="Kingo.Plugin.YJJK.View.ViewCGDC_CG" |
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" |
|
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" |
|
mc:Ignorable="d" |
|
d:DesignHeight="450" d:DesignWidth="800"> |
|
<Grid Background="White"> |
|
<GroupBox Header="成果输出"> |
|
<Grid x:Name="grid2" Visibility="Visible"> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="220"/> |
|
<RowDefinition Height="50" /> |
|
<RowDefinition Height="50" /> |
|
<RowDefinition Height="60" /> |
|
<RowDefinition Height="20" /> |
|
</Grid.RowDefinitions> |
|
<TreeView x:Name="tvCatalogTree" ItemsSource="{Binding Items, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" > |
|
<TreeView.ItemTemplate> |
|
<HierarchicalDataTemplate ItemsSource="{Binding SubCatalog,Mode=TwoWay}"> |
|
<CheckBox IsChecked="{Binding IsChecked,Mode=TwoWay}" Content="{Binding Name}" Tag="{Binding }"/> |
|
</HierarchicalDataTemplate> |
|
</TreeView.ItemTemplate> |
|
<TreeView.ItemContainerStyle> |
|
<Style TargetType="{x:Type TreeViewItem}"> |
|
<Setter Property="IsExpanded" Value="True"></Setter> |
|
</Style> |
|
</TreeView.ItemContainerStyle> |
|
</TreeView> |
|
<Grid Grid.Row="1" Visibility="{Binding NCData_Visibility}"> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="75" /> |
|
<ColumnDefinition /> |
|
<ColumnDefinition Width="75" /> |
|
</Grid.ColumnDefinitions> |
|
<Label Grid.Column="0" Content="基础数据包:" VerticalContentAlignment="Center" /> |
|
<TextBox x:Name="txtNCData" IsReadOnly="True" Grid.Column="1" Height="30" Text="{Binding NCDataDir,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" /> |
|
<Button x:Name="btnSelectNCData" Grid.Column="2" Content="选 择" Height="30" Margin="5,0" Click="btnSelectNCData_Click" /> |
|
</Grid> |
|
<Grid Grid.Row="2"> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="75" /> |
|
<ColumnDefinition /> |
|
<ColumnDefinition Width="75" /> |
|
</Grid.ColumnDefinitions> |
|
<Label Grid.Column="0" Content="保存目录:" VerticalContentAlignment="Center" /> |
|
<TextBox x:Name="txtOutDir" IsReadOnly="True" Grid.Column="1" Height="30" Text="{Binding OutDir,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" /> |
|
<Button x:Name="btnSelectDir" Grid.Column="2" Content="选 择" Height="30" Margin="5,0" Click="btnSelectDir_Click" /> |
|
</Grid> |
|
<StackPanel Grid.Row="3" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left"> |
|
<CheckBox Content="VCT包含坡度图" IsChecked="{Binding HasPDT}" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="5,0" Visibility="{Binding PDT_Visibility}" ></CheckBox> |
|
<CheckBox Content="权属单位代码补0" IsChecked="{Binding IsBL}" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="5,0" Visibility="{Binding BL_Visibility}"></CheckBox> |
|
<Label Name="lblBGYear" Content="变更年份:" Visibility="{Binding NCData_Visibility}"/> |
|
<dxe:SpinEdit Name="txtBGYear" Width="100" MinValue="2019" MaxValue="2029" |
|
EditValue="{Binding BGYear, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" |
|
IsFloatValue ="false" |
|
Visibility="{Binding NCData_Visibility}" IsTextEditable="False" IsReadOnly="False"/> |
|
</StackPanel> |
|
<!--<StackPanel Grid.Row="4" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Right"> |
|
<Button x:Name="btnExport" Content="确 定" Margin="10,0" Width="75" Height="30" Command="{Binding ExportClick}" /> |
|
<Button x:Name="btnCancel2" Content="取 消" Margin="10,0" Width="75" Height="30" Click="btnCancel_Click" /> |
|
</StackPanel>--> |
|
<StackPanel Orientation="Horizontal" Grid.Row="4"> |
|
<TextBlock Text="注:按照国家数据库提交规则,生成相应的增量成果数据包" TextWrapping="Wrap" Width="580" Foreground="Red" ></TextBlock> |
|
</StackPanel> |
|
</Grid> |
|
</GroupBox> |
|
</Grid> |
|
</UserControl>
|
|
|