|
|
|
|
<common:BaseWindow x:Class="Kingo.Plugin.BGResultManager.View.FrmResultsExportForTheBGNMK"
|
|
|
|
|
xmlns:common="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils"
|
|
|
|
|
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"
|
|
|
|
|
mc:Ignorable="d" Title="变更年末库一键成果输出"
|
|
|
|
|
Height="620" Width="600"
|
|
|
|
|
d:DesignHeight="620" d:DesignWidth="600">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
|
<RowDefinition Height="50" />
|
|
|
|
|
<RowDefinition Height="50" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<TreeView Grid.Row="0" 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">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="65" />
|
|
|
|
|
<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="2" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left">
|
|
|
|
|
<CheckBox Content="VCT包含坡度图" IsChecked="{Binding HasPDT}" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="5,0" Visibility="{Binding PDT_Visibility}" ></CheckBox>
|
|
|
|
|
<CheckBox Content="权属单位代码补0" IsChecked="{Binding IsBL}" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="5,0" Visibility="{Binding BL_Visibility}"></CheckBox>
|
|
|
|
|
<CheckBox Content="年末库数据汇总平差" IsChecked="{Binding IsHZPC}" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="5,0" Visibility="Collapsed"></CheckBox>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Grid.Row="3" 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>
|
|
|
|
|
</Grid>
|
|
|
|
|
</common:BaseWindow>
|