From e57938fbda9bff702004038f76d009422968bff5 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期五, 06 十一月 2026 18:05:07 +0800
Subject: [PATCH] 提交代码
---
DeviceService/LogWindow.xaml | 42 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/DeviceService/LogWindow.xaml b/DeviceService/LogWindow.xaml
new file mode 100644
index 0000000..93c7743
--- /dev/null
+++ b/DeviceService/LogWindow.xaml
@@ -0,0 +1,42 @@
+<Window x:Class="DeviceService.LogWindow"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ mc:Ignorable="d"
+ Title="鏃ュ織" Height="480" Width="760"
+ Background="{StaticResource PageBackgroundBrush}">
+ <Grid Margin="12">
+ <Grid.RowDefinitions>
+ <RowDefinition Height="*" />
+ <RowDefinition Height="Auto" />
+ </Grid.RowDefinitions>
+
+ <Border Grid.Row="0" Style="{StaticResource CardBorder}" Padding="4">
+ <ListBox x:Name="LogList"
+ Background="Transparent"
+ BorderThickness="0"
+ FontFamily="Consolas"
+ FontSize="12.5"
+ ScrollViewer.HorizontalScrollBarVisibility="Auto" />
+ </Border>
+
+ <DockPanel Grid.Row="1" Margin="0,10,0,0">
+ <Button x:Name="ClearButton"
+ DockPanel.Dock="Right"
+ Style="{StaticResource SecondaryButton}"
+ MinWidth="72"
+ Content="娓呯┖"
+ Click="ClearButton_Click" />
+ <CheckBox x:Name="AutoScrollBox"
+ DockPanel.Dock="Right"
+ VerticalAlignment="Center"
+ Margin="0,0,12,0"
+ IsChecked="True"
+ Content="鑷姩婊氬姩" />
+ <TextBlock x:Name="CountText"
+ VerticalAlignment="Center"
+ Foreground="{StaticResource TextSecondaryBrush}" />
+ </DockPanel>
+ </Grid>
+</Window>
--
Gitblit v1.9.1