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

73 lines
5.8 KiB

<windows:BaseWindow xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils"
x:Class="Kingo.Plugin.BHTB_Extract.View.ExtractDataView"
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:kuiBtn="clr-namespace:KUI.Button;assembly=KUI"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
xmlns:local="clr-namespace:Kingo.Plugin.BHTB_Extract.View"
mc:Ignorable="d" Title="作业区生成"
Height="300" Width="420" WindowStartupLocation="CenterScreen" ShowInTaskbar="False">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="40" />
<RowDefinition Height="auto" />
<RowDefinition />
<RowDefinition Height="auto"/>
<RowDefinition Height="40" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100" />
<ColumnDefinition />
<ColumnDefinition Width="100" />
</Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal" Grid.Column="0" Grid.ColumnSpan="3" Grid.Row="0" Margin="20,0">
<RadioButton Name="radioBtDistance" Content="按固定距离分幅" IsChecked="True" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Margin="0,0,30,0" />
<RadioButton Name="radioBtGraph" Content="按图斑分幅" IsChecked="False" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Margin="30,0" Checked="radioBtGraph_Checked"/>
</StackPanel>
<Label Grid.Row="1" Content="作业区范围:" Grid.Column="0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" Margin="20,0,0,0"/>
<TextBox Grid.Row="1" x:Name="txtFcPath" Text="" VerticalContentAlignment="Center" Grid.Column="1" Height="30" Margin="0,10" />
<kuiBtn:KImgButton Grid.Row="1" Grid.Column="2" Margin="5,5" Height="30" Content="选 择" x:Name="btnSelectLayer" Click="btnSelectLayer_Click" />
<StackPanel Grid.Column="0" Grid.ColumnSpan="3" Grid.Row="2" Orientation="Horizontal" Margin="20,0">
<Grid Width="400">
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="200" />
<ColumnDefinition Width="200" />
</Grid.ColumnDefinitions>
<StackPanel Name="XMinPanel" IsEnabled="{Binding ElementName=radioBtDistance,Path=IsChecked}" Grid.Row="0" Grid.Column="0" Orientation="Horizontal" HorizontalAlignment ="Left">
<Label Content="XMin:" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
<TextBox Text="10000" Name="tbXmin" Height="30" VerticalContentAlignment="Center" Margin="0,5" HorizontalContentAlignment="Left" Width="130"/>
</StackPanel>
<StackPanel Name="XMaxPanel" IsEnabled="{Binding ElementName=radioBtDistance,Path=IsChecked}" Grid.Row="0" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment ="Left">
<Label Content="XMax:" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
<TextBox Text="10000" Name="tbXmax" Height="30" VerticalContentAlignment="Center" Margin="0,5" HorizontalContentAlignment="Left" Width="130"/>
</StackPanel>
<StackPanel Name="YMinPanel" IsEnabled="{Binding ElementName=radioBtDistance,Path=IsChecked}" Grid.Row="1" Grid.Column="0" Orientation="Horizontal" HorizontalAlignment ="Left">
<Label Content="YMin:" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
<TextBox Text="10000" Name="tbYmin" Height="30" VerticalContentAlignment="Center" Margin="0,5" HorizontalContentAlignment="Left" Width="130"/>
</StackPanel>
<StackPanel Name="YMaxPanel" IsEnabled="{Binding ElementName=radioBtDistance,Path=IsChecked}" Grid.Row="1" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment ="Left">
<Label Content="YMax:" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
<TextBox Text="10000" Name="tbYmax" Height="30" VerticalContentAlignment="Center" Margin="0,5" HorizontalContentAlignment="Left" Width="130"/>
</StackPanel>
</Grid>
</StackPanel>
<StackPanel IsEnabled="{Binding ElementName=radioBtDistance,Path=IsChecked}" Grid.Row="3" Grid.Column="0" Orientation="Horizontal" Grid.ColumnSpan="3" >
<Label Content="固定距离:" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" Margin="20,0,0,0"/>
<TextBox Text="10000" Name="tbFramingSize" Height="30" VerticalContentAlignment="Center" Margin="20,5,0,0" Width="220"/>
<Label Content=" 米" VerticalContentAlignment="Center" />
</StackPanel>
<StackPanel Grid.Row="4" Grid.ColumnSpan="3" Orientation="Horizontal" HorizontalAlignment="Center">
<kuiBtn:KImgButton x:Name="btnOK" Content="确 定" Width="75" Height="30" CornerRadius="3" Margin="10,0" Foreground="White" Click="BtnOK_Click" />
<kuiBtn:KImgButton x:Name="btnCanel" Content="关 闭" Width="75" Height="30" CornerRadius="3" Margin="10,0" Foreground="White" Click="btnCancel_Click" />
</StackPanel>
</Grid>
</windows:BaseWindow>