2025-05-25 09:29:48 +08:00
|
|
|
<Window x:Class="Ink_Canvas.HasNewUpdateWindow"
|
|
|
|
|
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"
|
|
|
|
|
xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern"
|
2026-03-14 17:19:05 +08:00
|
|
|
xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf"
|
2025-05-25 09:29:48 +08:00
|
|
|
xmlns:mdxam="clr-namespace:MdXaml;assembly=MdXaml"
|
|
|
|
|
mc:Ignorable="d"
|
2025-09-27 17:52:25 +08:00
|
|
|
ui:WindowHelper.UseModernWindowStyle="False"
|
2025-05-25 09:29:48 +08:00
|
|
|
ui:WindowHelper.SystemBackdropType="Mica"
|
2025-09-20 15:25:08 +08:00
|
|
|
Title="InkCanvasForClass CE有新版本可用" Height="650" Width="900" ResizeMode="NoResize"
|
2025-09-27 17:52:25 +08:00
|
|
|
WindowStartupLocation="CenterScreen" WindowStyle="None"
|
2025-09-20 22:21:05 +08:00
|
|
|
Background="Transparent">
|
2025-09-20 15:25:08 +08:00
|
|
|
<Window.Template>
|
|
|
|
|
<ControlTemplate TargetType="Window">
|
2025-09-27 17:52:25 +08:00
|
|
|
<Border Background="{DynamicResource SettingsPageBackground}"
|
|
|
|
|
CornerRadius="8"
|
|
|
|
|
BorderBrush="{DynamicResource SettingsPageBorderBrush}"
|
|
|
|
|
BorderThickness="1">
|
2025-09-20 15:25:08 +08:00
|
|
|
<Border.Effect>
|
2025-09-27 17:52:25 +08:00
|
|
|
<DropShadowEffect Color="#000000" BlurRadius="20" ShadowDepth="0" Opacity="0.1"/>
|
2025-09-20 15:25:08 +08:00
|
|
|
</Border.Effect>
|
|
|
|
|
<ContentPresenter/>
|
|
|
|
|
</Border>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Window.Template>
|
|
|
|
|
<Window.Resources>
|
2025-09-27 17:52:25 +08:00
|
|
|
<!-- 主题相关颜色资源 -->
|
|
|
|
|
<SolidColorBrush x:Key="UpdateWindowPrimaryBrush" Color="#2563eb"/>
|
|
|
|
|
<SolidColorBrush x:Key="UpdateWindowPrimaryHoverBrush" Color="#1d4ed8"/>
|
|
|
|
|
<SolidColorBrush x:Key="UpdateWindowPrimaryPressedBrush" Color="#1e40af"/>
|
|
|
|
|
<SolidColorBrush x:Key="UpdateWindowCardBackgroundBrush" Color="#f8fafc"/>
|
|
|
|
|
<SolidColorBrush x:Key="UpdateWindowCardBorderBrush" Color="#e5e7eb"/>
|
|
|
|
|
<SolidColorBrush x:Key="UpdateWindowTextPrimaryBrush" Color="#1f2937"/>
|
|
|
|
|
<SolidColorBrush x:Key="UpdateWindowTextSecondaryBrush" Color="#6b7280"/>
|
|
|
|
|
<SolidColorBrush x:Key="UpdateWindowCloseButtonBrush" Color="#666666"/>
|
|
|
|
|
|
2025-09-20 15:25:08 +08:00
|
|
|
<!-- 渐变背景定义 -->
|
|
|
|
|
<LinearGradientBrush x:Key="HeaderGradient" StartPoint="0,0" EndPoint="1,1">
|
2025-09-27 17:52:25 +08:00
|
|
|
<GradientStop Color="#2563eb" Offset="0"/>
|
|
|
|
|
<GradientStop Color="White" Offset="1"/>
|
2025-09-20 15:25:08 +08:00
|
|
|
</LinearGradientBrush>
|
|
|
|
|
|
|
|
|
|
<!-- 现代按钮样式 -->
|
|
|
|
|
<Style x:Key="ModernPrimaryButton" TargetType="Button">
|
2025-09-27 17:52:25 +08:00
|
|
|
<Setter Property="Background" Value="{DynamicResource UpdateWindowPrimaryBrush}"/>
|
2025-09-20 15:25:08 +08:00
|
|
|
<Setter Property="Foreground" Value="White"/>
|
|
|
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
|
|
|
<Setter Property="FontWeight" Value="SemiBold"/>
|
2025-09-27 17:52:25 +08:00
|
|
|
<Setter Property="FontSize" Value="14"/>
|
|
|
|
|
<Setter Property="Padding" Value="20,10"/>
|
|
|
|
|
<Setter Property="Height" Value="40"/>
|
|
|
|
|
<Setter Property="MinWidth" Value="200"/>
|
2025-09-20 15:25:08 +08:00
|
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
|
|
|
<Setter Property="Cursor" Value="Hand"/>
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<ControlTemplate TargetType="Button">
|
|
|
|
|
<Border Background="{TemplateBinding Background}"
|
2025-09-27 17:52:25 +08:00
|
|
|
CornerRadius="6"
|
2025-09-20 15:25:08 +08:00
|
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
|
|
|
BorderBrush="{TemplateBinding BorderBrush}">
|
|
|
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
2025-09-27 17:52:25 +08:00
|
|
|
<Setter Property="Background" Value="{DynamicResource UpdateWindowPrimaryHoverBrush}"/>
|
2025-09-20 15:25:08 +08:00
|
|
|
</Trigger>
|
|
|
|
|
<Trigger Property="IsPressed" Value="True">
|
2025-09-27 17:52:25 +08:00
|
|
|
<Setter Property="Background" Value="{DynamicResource UpdateWindowPrimaryPressedBrush}"/>
|
2025-09-20 15:25:08 +08:00
|
|
|
</Trigger>
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style x:Key="ModernSecondaryButton" TargetType="Button">
|
2025-09-27 17:52:25 +08:00
|
|
|
<Setter Property="Background" Value="{DynamicResource SettingsPageBackground}"/>
|
|
|
|
|
<Setter Property="Foreground" Value="{DynamicResource UpdateWindowTextPrimaryBrush}"/>
|
2025-09-20 15:25:08 +08:00
|
|
|
<Setter Property="BorderThickness" Value="1"/>
|
2025-09-27 17:52:25 +08:00
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource SettingsPageBorderBrush}"/>
|
2025-09-20 15:25:08 +08:00
|
|
|
<Setter Property="FontWeight" Value="Medium"/>
|
2025-09-27 17:52:25 +08:00
|
|
|
<Setter Property="FontSize" Value="14"/>
|
|
|
|
|
<Setter Property="Padding" Value="20,10"/>
|
|
|
|
|
<Setter Property="Height" Value="40"/>
|
|
|
|
|
<Setter Property="MinWidth" Value="200"/>
|
2025-09-20 15:25:08 +08:00
|
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
|
|
|
<Setter Property="Cursor" Value="Hand"/>
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<ControlTemplate TargetType="Button">
|
|
|
|
|
<Border Background="{TemplateBinding Background}"
|
2025-09-27 17:52:25 +08:00
|
|
|
CornerRadius="6"
|
2025-09-20 15:25:08 +08:00
|
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
|
|
|
BorderBrush="{TemplateBinding BorderBrush}">
|
|
|
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
2025-09-27 17:52:25 +08:00
|
|
|
<Setter Property="Background">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<SolidColorBrush Color="#FF2563eb" Opacity="0.1"/>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
2025-09-20 15:25:08 +08:00
|
|
|
</Trigger>
|
|
|
|
|
<Trigger Property="IsPressed" Value="True">
|
2025-09-27 17:52:25 +08:00
|
|
|
<Setter Property="Background">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<SolidColorBrush Color="#FF2563eb" Opacity="0.2"/>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
2025-09-20 15:25:08 +08:00
|
|
|
</Trigger>
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style x:Key="ModernTertiaryButton" TargetType="Button">
|
|
|
|
|
<Setter Property="Background" Value="Transparent"/>
|
2025-09-27 17:52:25 +08:00
|
|
|
<Setter Property="Foreground" Value="{DynamicResource UpdateWindowTextSecondaryBrush}"/>
|
2025-09-20 15:25:08 +08:00
|
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
|
|
|
<Setter Property="FontWeight" Value="Medium"/>
|
2025-09-27 17:52:25 +08:00
|
|
|
<Setter Property="FontSize" Value="14"/>
|
|
|
|
|
<Setter Property="Padding" Value="20,10"/>
|
|
|
|
|
<Setter Property="Height" Value="40"/>
|
|
|
|
|
<Setter Property="MinWidth" Value="200"/>
|
2025-09-20 15:25:08 +08:00
|
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
|
|
|
<Setter Property="Cursor" Value="Hand"/>
|
|
|
|
|
<Setter Property="Template">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<ControlTemplate TargetType="Button">
|
|
|
|
|
<Border Background="{TemplateBinding Background}"
|
2025-09-27 17:52:25 +08:00
|
|
|
CornerRadius="6"
|
2025-09-20 15:25:08 +08:00
|
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
|
|
|
BorderBrush="{TemplateBinding BorderBrush}">
|
|
|
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
2025-09-27 17:52:25 +08:00
|
|
|
<Setter Property="Background">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<SolidColorBrush Color="#FF2563eb" Opacity="0.1"/>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
|
|
|
|
<Setter Property="Foreground" Value="{DynamicResource UpdateWindowTextPrimaryBrush}"/>
|
2025-09-20 15:25:08 +08:00
|
|
|
</Trigger>
|
|
|
|
|
<Trigger Property="IsPressed" Value="True">
|
2025-09-27 17:52:25 +08:00
|
|
|
<Setter Property="Background">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<SolidColorBrush Color="#FF2563eb" Opacity="0.2"/>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
2025-09-20 15:25:08 +08:00
|
|
|
</Trigger>
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
|
|
|
|
</Style>
|
|
|
|
|
</Window.Resources>
|
|
|
|
|
|
2025-06-18 18:16:48 +08:00
|
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
|
2025-09-20 22:21:05 +08:00
|
|
|
<Grid Margin="0,0,0,0" Background="Transparent">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel VerticalAlignment="Stretch" Spacing="0">
|
2025-09-20 21:54:02 +08:00
|
|
|
<!-- 统一的主容器 -->
|
2025-09-27 17:52:25 +08:00
|
|
|
<Border Background="{DynamicResource SettingsPageBackground}" CornerRadius="8" Margin="0,0,0,0"
|
|
|
|
|
BorderThickness="1" BorderBrush="{DynamicResource SettingsPageBorderBrush}" Padding="0">
|
2025-09-20 21:54:02 +08:00
|
|
|
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Spacing="0">
|
2025-09-20 21:54:02 +08:00
|
|
|
<!-- 现代化标题栏 -->
|
2025-09-27 17:52:25 +08:00
|
|
|
<Border Background="{StaticResource HeaderGradient}" CornerRadius="8,8,0,0" Margin="0,0,0,0"
|
2025-09-20 21:54:02 +08:00
|
|
|
MouseLeftButtonDown="TitleBar_MouseLeftButtonDown">
|
|
|
|
|
<Grid>
|
|
|
|
|
<!-- 标题栏内容 -->
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Margin="32,24,80,24" Spacing="16">
|
2025-09-20 21:54:02 +08:00
|
|
|
<Border Background="White" CornerRadius="16" Padding="16" Margin="0,0,0,0">
|
|
|
|
|
<Image Source="/Resources/Icons-fluent/party.png" Width="24" Height="24"/>
|
|
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical" Spacing="4">
|
2025-09-27 17:52:25 +08:00
|
|
|
<TextBlock Text="新版本发布" FontSize="24" FontWeight="Bold" Foreground="{DynamicResource UpdateWindowTextPrimaryBrush}" TextAlignment="Left"/>
|
|
|
|
|
<TextBlock Text="InkCanvasForClass CE 为您带来全新体验" FontSize="14" TextAlignment="Left" Foreground="{DynamicResource UpdateWindowTextSecondaryBrush}"/>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-09-20 21:54:02 +08:00
|
|
|
|
|
|
|
|
<!-- 自定义关闭按钮 -->
|
|
|
|
|
<Button x:Name="CloseButton"
|
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
|
Margin="0,12,12,0"
|
|
|
|
|
Width="32" Height="32"
|
|
|
|
|
Background="Transparent"
|
|
|
|
|
BorderThickness="0"
|
|
|
|
|
Click="CloseButton_Click"
|
|
|
|
|
Cursor="Hand"
|
|
|
|
|
ToolTip="关闭">
|
|
|
|
|
<Button.Template>
|
|
|
|
|
<ControlTemplate TargetType="Button">
|
|
|
|
|
<Border Background="{TemplateBinding Background}"
|
|
|
|
|
CornerRadius="16"
|
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
|
|
|
BorderBrush="{TemplateBinding BorderBrush}">
|
|
|
|
|
<Path Data="M8,8 L16,16 M16,8 L8,16"
|
2025-09-27 17:52:25 +08:00
|
|
|
Stroke="{DynamicResource UpdateWindowCloseButtonBrush}"
|
2025-09-20 21:54:02 +08:00
|
|
|
StrokeThickness="2"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
VerticalAlignment="Center"/>
|
|
|
|
|
</Border>
|
|
|
|
|
<ControlTemplate.Triggers>
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="True">
|
2025-09-27 17:52:25 +08:00
|
|
|
<Setter Property="Background">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<SolidColorBrush Color="#FF2563eb" Opacity="0.1"/>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
2025-09-20 21:54:02 +08:00
|
|
|
</Trigger>
|
|
|
|
|
<Trigger Property="IsPressed" Value="True">
|
2025-09-27 17:52:25 +08:00
|
|
|
<Setter Property="Background">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<SolidColorBrush Color="#FF2563eb" Opacity="0.2"/>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter>
|
2025-09-20 21:54:02 +08:00
|
|
|
</Trigger>
|
|
|
|
|
</ControlTemplate.Triggers>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</Button.Template>
|
|
|
|
|
</Button>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
|
2025-09-20 15:25:08 +08:00
|
|
|
<!-- 内容标题 -->
|
2025-09-27 17:52:25 +08:00
|
|
|
<Border Background="{DynamicResource UpdateWindowCardBackgroundBrush}" Padding="24,20,24,16">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="12">
|
2025-09-27 17:52:25 +08:00
|
|
|
<Border Background="{DynamicResource UpdateWindowPrimaryBrush}" CornerRadius="8" Padding="8">
|
2025-09-20 15:25:41 +08:00
|
|
|
<TextBlock Text="📝" FontSize="16" Foreground="White"
|
|
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
2025-09-20 15:25:08 +08:00
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical" Spacing="2">
|
2025-09-27 17:52:25 +08:00
|
|
|
<TextBlock Text="更新内容" FontSize="18" FontWeight="SemiBold" Foreground="{DynamicResource UpdateWindowTextPrimaryBrush}"/>
|
|
|
|
|
<TextBlock Text="查看本次更新的详细内容" FontSize="14" Foreground="{DynamicResource UpdateWindowTextSecondaryBrush}"/>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-09-20 15:25:08 +08:00
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<!-- 内容区域 -->
|
|
|
|
|
<ui:ScrollViewerEx Margin="0" VerticalScrollBarVisibility="Auto" Height="200" PanningMode="VerticalOnly">
|
|
|
|
|
<mdxam:MarkdownScrollViewer x:Name="markdownContent" xml:space="preserve"
|
2025-09-27 17:52:25 +08:00
|
|
|
Foreground="{DynamicResource UpdateWindowTextPrimaryBrush}" MarkdownStyleName="GithubLike"
|
2025-09-20 15:25:08 +08:00
|
|
|
Margin="24,16,24,16">
|
2025-05-25 09:29:48 +08:00
|
|
|
# InkCanvasForClass v5.0.2更新
|
|
|
|
|
|
2025-06-27 16:46:05 +08:00
|
|
|
你好,旅行者们,本次InkCanvasForClass Community Edition更新带来了如下新功能供您探索:
|
2025-05-25 09:29:48 +08:00
|
|
|
|
|
|
|
|
1. 全新设计的UI界面,包括浮动工具栏和白板页面均经过重新设计,更加现代化的UI让您在使用的过程中更加舒适。
|
|
|
|
|
2. 带来了实时修改橡皮大小和橡皮形状的菜单。您可以选择使用圆形橡皮,方形橡皮,和类似希沃白板的真实黑板擦(矩形)橡皮。
|
|
|
|
|
3. 白板页面支持显示当前时间和日期
|
|
|
|
|
4. 自动收纳新增对希沃轻白板、智绘教、鸿合屏幕书写等软件的支持,自动查杀新增对鸿合屏幕书写、希沃轻白板等软件的支持。
|
|
|
|
|
5. 为设置界面重写了全新的UI。
|
|
|
|
|
6. 重写了随机抽选模块,现在支持更丰富的抽选机制和自定义选项。
|
|
|
|
|
7. 修复了部分小Bug,提升了整体的用户体验。
|
|
|
|
|
8. 带来了基于FitToCurve的笔迹平滑,基于贝塞尔曲线平滑,让墨迹线条更加优美好看。
|
|
|
|
|
</mdxam:MarkdownScrollViewer>
|
|
|
|
|
</ui:ScrollViewerEx>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Border>
|
2025-06-18 18:16:48 +08:00
|
|
|
|
2025-09-20 21:54:02 +08:00
|
|
|
<!-- 现代化版本信息 -->
|
2025-09-27 17:52:25 +08:00
|
|
|
<Border Background="{DynamicResource UpdateWindowCardBackgroundBrush}" Margin="0,0,0,0" Padding="24,20">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Center" Spacing="24">
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical" Spacing="4" HorizontalAlignment="Center">
|
2025-09-27 17:52:25 +08:00
|
|
|
<TextBlock Text="版本信息" FontSize="14" FontWeight="Medium" Foreground="{DynamicResource UpdateWindowTextSecondaryBrush}"/>
|
2025-09-20 15:25:08 +08:00
|
|
|
<TextBlock x:Name="updateVersionInfo" Text="本次更新: 4.9.1 -> 5.9.1"
|
2025-09-27 17:52:25 +08:00
|
|
|
FontWeight="SemiBold" FontSize="16" Foreground="{DynamicResource UpdateWindowTextPrimaryBrush}" TextAlignment="Center"/>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-09-27 17:52:25 +08:00
|
|
|
<Border Width="1" Background="{DynamicResource SettingsPageBorderBrush}" Margin="0,8,0,8"/>
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical" Spacing="4" HorizontalAlignment="Center">
|
2025-09-27 17:52:25 +08:00
|
|
|
<TextBlock Text="发布日期" FontSize="14" FontWeight="Medium" Foreground="{DynamicResource UpdateWindowTextSecondaryBrush}"/>
|
2025-09-20 15:25:08 +08:00
|
|
|
<TextBlock x:Name="updateDateInfo" Text="2024年8月4日发布更新"
|
2025-09-27 17:52:25 +08:00
|
|
|
FontSize="16" Foreground="{DynamicResource UpdateWindowTextPrimaryBrush}" TextAlignment="Center"/>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
|
|
|
|
</ikw:SimpleStackPanel>
|
2025-09-20 15:25:08 +08:00
|
|
|
</Border>
|
2025-06-18 18:16:48 +08:00
|
|
|
|
2025-09-20 21:54:02 +08:00
|
|
|
<!-- 现代化按钮区域 -->
|
2025-09-27 17:52:25 +08:00
|
|
|
<Border Background="{DynamicResource UpdateWindowCardBackgroundBrush}" Margin="0,0,0,0" Padding="32,24" CornerRadius="0,0,8,8">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical" HorizontalAlignment="Center" Spacing="16">
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="12" HorizontalAlignment="Center">
|
2025-09-27 17:52:25 +08:00
|
|
|
<Border Background="{DynamicResource UpdateWindowPrimaryBrush}" CornerRadius="8" Padding="8">
|
2025-09-20 15:25:41 +08:00
|
|
|
<TextBlock Text="⚡" FontSize="16" Foreground="White"
|
|
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
2025-09-20 15:25:08 +08:00
|
|
|
</Border>
|
|
|
|
|
<TextBlock Text="选择更新方式" FontWeight="SemiBold" FontSize="18"
|
2025-09-27 17:52:25 +08:00
|
|
|
Foreground="{DynamicResource UpdateWindowTextPrimaryBrush}" VerticalAlignment="Center"/>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-06-18 18:16:48 +08:00
|
|
|
|
|
|
|
|
<!-- 立即更新按钮 -->
|
2025-09-20 15:25:08 +08:00
|
|
|
<Button x:Name="UpdateNowButton" Content="立即下载并安装"
|
|
|
|
|
Style="{StaticResource ModernPrimaryButton}"
|
|
|
|
|
Click="UpdateNowButton_Click" ToolTip="立即下载更新并在完成后安装"
|
|
|
|
|
Visibility="Visible" IsEnabled="True"/>
|
2025-06-18 18:16:48 +08:00
|
|
|
|
|
|
|
|
<!-- 稍后更新按钮 -->
|
2025-09-20 15:25:08 +08:00
|
|
|
<Button x:Name="UpdateLaterButton" Content="下载并在软件关闭时安装"
|
|
|
|
|
Style="{StaticResource ModernSecondaryButton}"
|
|
|
|
|
Click="UpdateLaterButton_Click"
|
|
|
|
|
ToolTip="后台下载更新,在软件关闭时自动安装"
|
|
|
|
|
Visibility="Visible" IsEnabled="True"/>
|
2025-06-18 18:16:48 +08:00
|
|
|
|
|
|
|
|
<!-- 跳过版本按钮 -->
|
2025-09-20 15:25:08 +08:00
|
|
|
<Button x:Name="SkipVersionButton" Content="跳过该版本"
|
|
|
|
|
Style="{StaticResource ModernTertiaryButton}"
|
|
|
|
|
Click="SkipVersionButton_Click"
|
|
|
|
|
ToolTip="跳过此版本更新" Visibility="Visible" IsEnabled="True"/>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-06-18 18:16:48 +08:00
|
|
|
</Border>
|
2025-07-22 17:07:27 +08:00
|
|
|
|
2025-09-20 21:54:02 +08:00
|
|
|
<!-- 现代化下载进度指示器 -->
|
2025-09-27 17:52:25 +08:00
|
|
|
<Border x:Name="DownloadProgressPanel" Background="{DynamicResource UpdateWindowCardBackgroundBrush}"
|
2025-09-20 21:54:02 +08:00
|
|
|
Margin="0,0,0,0" Padding="32,24" Visibility="Collapsed">
|
2026-03-14 17:19:05 +08:00
|
|
|
<ikw:SimpleStackPanel Orientation="Vertical" HorizontalAlignment="Center" Spacing="16">
|
|
|
|
|
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="12" HorizontalAlignment="Center">
|
2025-09-20 15:25:08 +08:00
|
|
|
<Border Background="#10b981" CornerRadius="8" Padding="8">
|
2025-09-20 15:25:41 +08:00
|
|
|
<TextBlock Text="📥" FontSize="16" Foreground="White"
|
|
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
2025-09-20 15:25:08 +08:00
|
|
|
</Border>
|
|
|
|
|
<TextBlock Text="正在下载更新" FontWeight="SemiBold" FontSize="18"
|
2025-09-27 17:52:25 +08:00
|
|
|
Foreground="{DynamicResource UpdateWindowTextPrimaryBrush}" VerticalAlignment="Center"/>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-09-20 15:25:08 +08:00
|
|
|
|
|
|
|
|
<!-- 现代化进度条 -->
|
2025-09-27 17:52:25 +08:00
|
|
|
<Border Background="{DynamicResource SettingsPageBackground}" CornerRadius="6" Height="6" Width="400">
|
|
|
|
|
<Border x:Name="ProgressFill" Background="{DynamicResource UpdateWindowPrimaryBrush}" CornerRadius="6"
|
2025-09-20 15:25:08 +08:00
|
|
|
Width="0" HorizontalAlignment="Left">
|
|
|
|
|
</Border>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<TextBlock x:Name="DownloadProgressText" Text="正在准备下载..."
|
2025-09-27 17:52:25 +08:00
|
|
|
FontSize="14" Foreground="{DynamicResource UpdateWindowTextSecondaryBrush}" HorizontalAlignment="Center"/>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-09-20 15:25:08 +08:00
|
|
|
</Border>
|
2026-03-14 17:19:05 +08:00
|
|
|
</ikw:SimpleStackPanel>
|
2025-06-18 18:16:48 +08:00
|
|
|
</Grid>
|
|
|
|
|
</ScrollViewer>
|
2025-05-25 09:29:48 +08:00
|
|
|
</Window>
|