Files
community/Ink Canvas/Windows/RollCallHistoryWindow.xaml
2025-11-08 18:01:56 +08:00

47 lines
2.5 KiB
XML

<Window x:Class="Ink_Canvas.RollCallHistoryWindow"
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"
xmlns:local="clr-namespace:Ink_Canvas"
mc:Ignorable="d" FontFamily="Microsoft YaHei UI" ui:WindowHelper.UseModernWindowStyle="True"
WindowStartupLocation="CenterScreen"
xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern" Topmost="True"
Title="Ink Canvas 抽奖 - 点名历史记录" Height="500" Width="400"
Loaded="Window_Loaded">
<Window.Resources>
<!-- 主题资源 -->
<SolidColorBrush x:Key="RollCallHistoryWindowBackground" Color="White"/>
<SolidColorBrush x:Key="RollCallHistoryWindowForeground" Color="Black"/>
<SolidColorBrush x:Key="RollCallHistoryWindowButtonBackground" Color="#F4F4F5"/>
<SolidColorBrush x:Key="RollCallHistoryWindowButtonForeground" Color="Black"/>
<SolidColorBrush x:Key="RollCallHistoryWindowBorderBrush" Color="#E4E4E7"/>
</Window.Resources>
<Grid Background="{DynamicResource RollCallHistoryWindowBackground}">
<Label Content="点名历史记录"
Margin="10"
Foreground="{DynamicResource RollCallHistoryWindowForeground}"
FontFamily="Microsoft YaHei UI"/>
<TextBox Name="TextBoxHistory"
FontFamily="Microsoft YaHei UI"
VerticalScrollBarVisibility="Auto"
AcceptsReturn="True"
IsReadOnly="True"
Margin="10,40,10,50"
Background="{DynamicResource RollCallHistoryWindowBackground}"
Foreground="{DynamicResource RollCallHistoryWindowForeground}"
BorderBrush="{DynamicResource RollCallHistoryWindowBorderBrush}"/>
<Button Margin="10"
VerticalAlignment="Bottom"
HorizontalAlignment="Right"
Content="关闭"
FontFamily="Microsoft YaHei UI"
Width="100"
Click="Button_Click"
Background="{DynamicResource RollCallHistoryWindowButtonBackground}"
Foreground="{DynamicResource RollCallHistoryWindowButtonForeground}"
BorderBrush="{DynamicResource RollCallHistoryWindowBorderBrush}"/>
</Grid>
</Window>