| | |
| | | <RowDefinition Height="Auto"/> |
| | | <RowDefinition Height="Auto"/> |
| | | </Grid.RowDefinitions> |
| | | <Grid x:Name="infoGrid" Grid.Row="0" Background="LightBlue"> |
| | | <Grid x:Name="infoGrid" Grid.Row="0" Background="#a1eafb"> |
| | | <Grid.RowDefinitions> |
| | | <RowDefinition/> |
| | | <RowDefinition/> |
| | | </Grid.RowDefinitions> |
| | | |
| | | |
| | | <Grid.ColumnDefinitions> |
| | | <ColumnDefinition Width="Auto"/> |
| | | <ColumnDefinition/> |
| | | </Grid.ColumnDefinitions> |
| | | |
| | | <TextBlock FontSize="{Binding ActualWidth,RelativeSource={RelativeSource AncestorType=UserControl}, |
| | | Converter={StaticResource FontSizeConverter}, ConverterParameter='30,940'}" |
| | | FontWeight="Bold" |
| | | Margin="0" |
| | | HorizontalAlignment="Center" |
| | | VerticalAlignment="Center" Background="Transparent" Text="{Binding title}"/> |
| | | VerticalAlignment="Center" Text="{Binding title}"/> |
| | | |
| | | <ComboBox Grid.Row="1" FontSize="{Binding ActualWidth,RelativeSource={RelativeSource AncestorType=UserControl}, |
| | | Converter={StaticResource FontSizeConverter}, ConverterParameter='15,940'}" |
| | |
| | | Converter={StaticResource FontSizeConverter}, ConverterParameter='15,940'}"></local:InfoTable> |
| | | </Grid> |
| | | |
| | | <UniformGrid x:Name="mainGrid" Grid.Row="1" Columns="6" dp:UniformGridHelper.InnerBorder="1" |
| | | <UniformGrid x:Name="mainGrid" Grid.Row="1" dp:UniformGridHelper.InnerBorder="1" |
| | | dp:UniformGridHelper.InnerBorderIgnore="Left,Right,Bottom"> |
| | | </UniformGrid> |
| | | |
| | |
| | | <DockPanel/> |
| | | </ItemsPanelTemplate> |
| | | </StatusBar.ItemsPanel> |
| | | <StatusBarItem DockPanel.Dock="Left"> |
| | | <Button Style="{StaticResource LinkButton}" Click="Button_Click_1">扫码枪设置</Button> |
| | | </StatusBarItem> |
| | | |
| | | <StatusBarItem DockPanel.Dock="Right"> |
| | | <StackPanel Orientation="Horizontal"> |
| | | <Ellipse Width="10" Height="10"> |
| | | <Ellipse.Style> |
| | | <Style TargetType="Ellipse"> |
| | | <Setter Property="Fill" Value="Gray"/> |
| | | <Setter Property="Fill" Value="LightGray"/> |
| | | <Style.Triggers> |
| | | <DataTrigger Binding="{Binding TcpServerStatus,ElementName=control}" Value="ERROR"> |
| | | <Setter Property="Fill" Value="Red"/> |
| | |
| | | </StatusBarItem> |
| | | </StatusBar> |
| | | |
| | | <Grid Grid.Row="4" > |
| | | <Grid Grid.Row="4"> |
| | | <Grid.ColumnDefinitions> |
| | | <ColumnDefinition/> |
| | | <ColumnDefinition/> |
| | | <ColumnDefinition/> |
| | | </Grid.ColumnDefinitions> |
| | | <Button Click="ScanWindow_Click" Style="{StaticResource PrimaryButton}" |
| | | Content="{DynamicResource Tr.Scan}"/> |
| | | <Button Grid.Column="1" Click="SetStationGlobal_Click" Style="{StaticResource SuccessButton}" |
| | | <Button Grid.Column="1" Click="ClearAllSnr_Click" Style="{StaticResource DangerButton}" |
| | | Content="{DynamicResource Tr.ClearAllSNR}"/> |
| | | <Button Grid.Column="2" Click="SetStationGlobal_Click" Style="{StaticResource SuccessButton}" |
| | | Content="{DynamicResource App.Start}"/> |
| | | </Grid> |
| | | |