|
|
|
|
<common:BaseWindow x:Class="Kingo.Plugin.BGResultManager.View.FrmResultsExportForTheYBGCG"
|
|
|
|
|
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="520" 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="控制面积保留一位小数(平差)" IsChecked="{Binding IsHZPC,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Margin="10,0" Grid.Row="4" VerticalAlignment="Center" HorizontalAlignment="Center" Visibility="Visible"></CheckBox>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Grid.Row="2" 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>
|