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

71 lines
4.6 KiB

<windows:BaseWindow xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils"
x:Class="Kingo.Plugin.MakeTaskPackage.View.FrmAddListLayer"
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:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
xmlns:local="clr-namespace:Kingo.Plugin.MakeTaskPackage.View"
xmlns:kui="clr-namespace:KUI;assembly=KUI"
xmlns:btn="clr-namespace:KUI.Button;assembly=KUI"
mc:Ignorable="d"
Width="550" Height="300" Title="添加图层" Loaded="FrmAddListLayer_Loaded">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="60"/>
<RowDefinition Height="60" />
<RowDefinition Height="60" />
<RowDefinition />
</Grid.RowDefinitions>
<dxlc:LayoutControl Orientation="Vertical" Grid.Row="0" Grid.ColumnSpan="2">
<dxlc:LayoutGroup Orientation="Horizontal" Margin="0,5,0,0" >
<dxlc:LayoutItem IsRequired="True" Label="选择图层:" LabelPosition="Left">
<dxe:ComboBoxEdit x:Name="cobLayer" IsTextEditable="False" Height="30" ValueMember="CODE" DisplayMember="NAME" Width="330" >
</dxe:ComboBoxEdit>
</dxlc:LayoutItem>
<btn:KImgButton x:Name="btnSelectLayerPath" Content="选 择" Margin="10,0,5,0" Width="96" Height="30" HorizontalAlignment="Left" Click="btnSelectLayerPath_Click" />
</dxlc:LayoutGroup>
</dxlc:LayoutControl>
<dxlc:LayoutControl Orientation="Vertical" Grid.Row="1" Grid.ColumnSpan="2">
<dxlc:LayoutGroup Orientation="Horizontal" Margin="0,5,0,0" >
<dxlc:LayoutItem IsRequired="True" Label="举证任务:" LabelPosition="Left">
<dxe:ComboBoxEdit x:Name="cobJZRW" IsTextEditable="False" Height="30" >
</dxe:ComboBoxEdit>
</dxlc:LayoutItem>
</dxlc:LayoutGroup>
</dxlc:LayoutControl>
<dxlc:LayoutControl Orientation="Vertical" Grid.Row="2" Grid.ColumnSpan="2">
<dxlc:LayoutGroup Orientation="Horizontal" Margin="0,5,0,0" >
<dxlc:LayoutItem IsRequired="True" Label="分组名称:" LabelPosition="Left">
<dxe:ComboBoxEdit x:Name="cobLayerGroup" IsTextEditable="False" Height="30" ValueMember="FileName" DisplayMember="FileAliasName" >
</dxe:ComboBoxEdit>
</dxlc:LayoutItem>
</dxlc:LayoutGroup>
</dxlc:LayoutControl>
<!--<StackPanel Grid.Row="0" HorizontalAlignment="Stretch" Orientation="Horizontal" Margin="0,5,0,0" Grid.ColumnSpan="2" >
<TextBlock Text="文件路径:" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="10,0,0,0"/>
--><!--<TextBox x:Name="txtLayerPath" Height="30" Width="350" />--><!--
<ComboBox Height="30" x:Name="cobLayer" VerticalAlignment="Center" Width="350" DisplayMemberPath="NAME" SelectedValuePath="CODE" >
</ComboBox>
<btn:KImgButton x:Name="btnSelectLayerPath" Content="选 择" Margin="10,0,5,0" Width="96" Height="30" HorizontalAlignment="Left" Click="btnSelectLayerPath_Click" />
</StackPanel>-->
<!--<StackPanel Grid.Row="1" HorizontalAlignment="Stretch" Orientation="Horizontal" Margin="0,5,0,0" Grid.ColumnSpan="2" >
<TextBlock Text="分组名称:" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="10,0,0,0"/>
<ComboBox Height="30" x:Name="cobLayerGroup" VerticalAlignment="Center" Width="350" IsReadOnly="False" DisplayMemberPath="FileAliasName" SelectedValuePath="FileName" >
</ComboBox>
</StackPanel>-->
<StackPanel Grid.Row="3" Margin="0,10,0,5" Orientation="Horizontal" VerticalAlignment="Stretch" HorizontalAlignment="Center" >
<btn:KImgButton x:Name="btnOK" Content="确 定" Height="30" Width="100" Click="btnOK_Click"/>
<btn:KImgButton x:Name="btnCancel" Content="取 消" Width="96" Height="30" Margin="20,0,0,0" Foreground="White" Click="btnCancel_Click" />
</StackPanel>
</Grid>
</windows:BaseWindow>