| | |
| | | FontSize="{Binding ActualHeight,RelativeSource={RelativeSource AncestorType=UserControl}, |
| | | Converter={StaticResource hfc}, ConverterParameter='12,816'}" |
| | | x:Name="control" |
| | | SizeChanged="control_SizeChanged" |
| | | d:DesignHeight="450" d:DesignWidth="800"> |
| | | <UserControl.Resources> |
| | | <ResourceDictionary> |
| | |
| | | <RowDefinition Height="Auto"/> |
| | | </Grid.RowDefinitions> |
| | | |
| | | <Grid dp:GridHelper.InnerBorder="1" dp:GridHelper.Space="2" |
| | | <Grid dp:GridHelper.InnerBorder="1" dp:GridHelper.Space="2" x:Name="tableHeader" |
| | | dp:GridHelper.InnerBorderBrush="{DynamicResource CommonBoarder}"> |
| | | <Grid.RowDefinitions> |
| | | <RowDefinition Height="Auto"/> |
| | | <RowDefinition/> |
| | | <RowDefinition/> |
| | | </Grid.RowDefinitions> |
| | | <Grid.ColumnDefinitions> |
| | | <ColumnDefinition Width="Auto"/> |
| | | <ColumnDefinition/> |
| | | <ColumnDefinition Width="Auto"/> |
| | | </Grid.ColumnDefinitions> |
| | | <StackPanel Grid.RowSpan="3"> |
| | | <StackPanel.Style> |
| | | <Style TargetType="StackPanel"> |
| | | <Setter Property="Background" Value="DeepSkyBlue"/> |
| | | <Style.Triggers> |
| | | <DataTrigger Binding="{Binding Status}" Value="Passed"> |
| | | <Setter Property="Background" Value="{StaticResource passedColor}"/> |
| | |
| | | <Label> |
| | | <Label.Style> |
| | | <Style TargetType="Label"> |
| | | <Setter Property="VerticalAlignment" Value="Center"/> |
| | | <Setter Property="Padding" Value="10,10,10,0"/> |
| | | <Setter Property="Margin" Value="0"/> |
| | | <Setter Property="FontFamily" Value="{StaticResource iconfont}"/> |
| | |
| | | </Label.Style> |
| | | </Label> |
| | | |
| | | <Label Content="{Binding Status}" VerticalContentAlignment="Center" |
| | | <Label Content="{Binding Status}" VerticalAlignment="Center" VerticalContentAlignment="Center" |
| | | Padding="0" |
| | | Margin="0" |
| | | HorizontalContentAlignment="Center" |
| | |
| | | |
| | | <!--<Label HorizontalContentAlignment="Left" Grid.Column="1" Content="{Binding Status}"/>--> |
| | | |
| | | <Label Style="{StaticResource baseLabel}" Background="#FFF" Grid.Row="1" Grid.Column="1"> |
| | | <Label Style="{StaticResource baseLabel}" Background="#FFF" Grid.Row="0" Grid.Column="1"> |
| | | <StackPanel Orientation="Horizontal"> |
| | | <TextBlock Style="{StaticResource baseText}" Text="{DynamicResource Ts.Total}"/> |
| | | <TextBlock Style="{StaticResource baseText}" Margin="2,0,18,0" Text="{Binding TotalNum}"/> |
| | |
| | | </StackPanel> |
| | | </Label> |
| | | |
| | | <Label Style="{StaticResource baseLabel}" Background="#FFF" Grid.Row="2" Grid.Column="1"> |
| | | <Label Style="{StaticResource baseLabel}" Background="#FFF" Grid.Row="1" Grid.Column="1"> |
| | | <StackPanel Orientation="Horizontal"> |
| | | <Label Style="{StaticResource baseLabel}" Content="{DynamicResource Ts.CurrentSnr}"/> |
| | | <Label Style="{StaticResource baseLabel}" Margin="2,0,18,0" Content="{Binding Barcode}"/> |
| | |
| | | <Label Style="{StaticResource baseLabel}" Margin="2,0,18,0" Content="{Binding ElapseTime}"/> |
| | | </StackPanel> |
| | | </Label> |
| | | <Border x:Name="screenContainer" BorderThickness="0" Grid.Column="2" Grid.RowSpan="2" MouseLeftButtonDown="screenContainer_MouseLeftButtonDown"> |
| | | |
| | | </Border> |
| | | </Grid> |
| | | |
| | | <Grid Grid.Row="2" x:Name="simplePanel" dp:GridHelper.Space="2" dp:GridHelper.SpaceIgnore="TOP"> |
| | |
| | | </ListView.View> |
| | | </ListView>--> |
| | | |
| | | <DataGrid Grid.Row="0" Style="{StaticResource DefaultDataGrid}" Margin="2,0,2,2" |
| | | |
| | | |
| | | <Canvas Grid.Row="0" x:Name="canvas" Background="Transparent"> |
| | | <DataGrid Canvas.Left="0" Canvas.Top="0" Height="{Binding ActualHeight,ElementName=canvas}" |
| | | Width="{Binding ActualWidth,ElementName=canvas}" |
| | | Style="{StaticResource DefaultDataGrid}" Margin="2,0,2,2" |
| | | FontSize="{DynamicResource tableFontSize}" |
| | | dp:DataGridHelper.ShowRowNumber="True" |
| | | VirtualizingPanel.IsContainerVirtualizable="True" |
| | |
| | | </DataGridTemplateColumn> |
| | | </DataGrid.Columns> |
| | | </DataGrid> |
| | | </Canvas> |
| | | |
| | | <Grid Grid.Row="1" Height="20" Margin="0"> |
| | | <ProgressBar Grid.Row="3" x:Name="testProcess" Value="{Binding ProcessValue}"/> |
| | |
| | | |
| | | <Grid Background="#f1eded" Grid.Row="2" Height="25"> |
| | | <DockPanel> |
| | | <Label Padding="0" FontSize="12" VerticalContentAlignment="Center" Content="{Binding CurrentStep}"/> |
| | | <Label Margin="10,0,0,0" Padding="0" FontSize="16" VerticalContentAlignment="Center" Content="{Binding SocketName}"/> |
| | | <Label Margin="20,0,0,0" Padding="0" FontSize="14" VerticalContentAlignment="Center" Content="{Binding CurrentStep}"/> |
| | | |
| | | <StackPanel DockPanel.Dock="Right" Orientation="Horizontal" Margin="0,0,5,0"> |
| | | <!--<Button FontSize="12" x:Name="scannerSetting" |