1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <UserControl x:Class="AIPractice.LabellerServer.WPF.ExportView"
- 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:local="clr-namespace:AIPractice.LabellerServer.WPF"
- xmlns:viewModels="clr-namespace:AIPractice.LabellerServer.ViewModels"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="480"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- <RowDefinition Height="48"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <StackPanel Margin="4" Grid.Row="0" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center">
- <TextBlock Style="{StaticResource textblock-default}" Margin="4" VerticalAlignment="Center" Text="导出目录: "/>
- <TextBox IsReadOnly="True" Width="380" x:Name="ExportDir" Margin="2" Style="{DynamicResource input-group-btn right}" Tag="选择" Button.Click="OnSelectDirDirClick"/>
- </StackPanel>
- <StackPanel Margin="4" Grid.Row="1" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center">
- <TextBlock Style="{StaticResource textblock-default}" VerticalAlignment="Center" Margin="4" Text="导出标签: "></TextBlock>
- <local:SingleSelector VerticalAlignment="Center" x:Name="ExportDesc" Margin="2" Width="180" SelectionChanged="OnDescSelectionChanged" Refreshed="OnExportDescRefreshed"></local:SingleSelector>
- <!--<ComboBox VerticalAlignment="Center" x:Name="ExportDesc" Margin="2" Width="100" SelectionChanged="OnDescSelectionChanged"/>-->
- <!--<Button Style="{StaticResource btn-info}" Content="刷新" Width="80" Height="32" Click="OnDescRefreshClick"/>-->
- <TextBlock Style="{StaticResource textblock-default}" Width="220" Margin="4,0,0,0" VerticalAlignment="Center" Text="如不选择部位,则导出所有部位" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
- <StackPanel Margin="4" Grid.Row="2" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center">
- <TextBlock Style="{StaticResource textblock-default}" Margin="4,8" VerticalAlignment="Center" Text="选择导出图像的执行人员: " />
- <local:MultiSelector x:Name="AccountSelector" Margin="2,2,4,2" Height="36" Width="220" SelectUnSelectAll="OnSelectUnSelectAllAccounts" Refreshed="OnAccountsRefreshed">
- <local:MultiSelector.ItemTemplate>
- <DataTemplate DataType="{x:Type viewModels:AccountViewModel}">
- <CheckBox Margin="8,2,2,2" VerticalAlignment="Center" IsChecked="{Binding IsSelected}" Content="{Binding FriendlyName}"/>
- </DataTemplate>
- </local:MultiSelector.ItemTemplate>
- </local:MultiSelector>
- </StackPanel>
- <Label Grid.Row="3" Grid.Column="0" Style="{StaticResource text-success}" x:Name="ExportInfo" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="4"/>
- <Button Margin="2,2,20,2" Grid.Row="3" Grid.Column="0" Style="{StaticResource btn-primary}" Content="导出" Width="80" Height="32" VerticalAlignment="Center" HorizontalAlignment="Right" Click="OnExportClick"/>
- <ProgressBar x:Name="PB" Style="{StaticResource progress-bar-success}" Grid.Row="5" Grid.ColumnSpan="2" Grid.Column="0" Height="28" Maximum="100" Minimum="0" VerticalAlignment="Bottom"/>
- </Grid>
- </UserControl>
|