This commit is contained in:
ShrlAlgo
2025-07-11 09:20:23 +08:00
parent c7b104f44f
commit 4d35cadb56
840 changed files with 102347 additions and 11595 deletions

View File

@@ -1,14 +1,4 @@
<Window
x:Class="WPFluent.Controls.SplashWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:conv="http://schemas.superdev.ch/valueconverters/2016/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:WPFluent.Controls"
xmlns:layout="clr-namespace:WPFluent.Layout"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="Splash"
d:Opacity="1"
AllowsTransparency="True"
Background="Transparent"
InputMethod.IsInputMethodEnabled="False"
@@ -17,12 +7,20 @@
ShowInTaskbar="False"
SizeToContent="WidthAndHeight"
Style="{x:Null}"
Title="Splash"
WindowStartupLocation="CenterScreen"
WindowStyle="None"
mc:Ignorable="d">
d:Opacity="1"
mc:Ignorable="d"
x:Class="WPFluent.Controls.SplashWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:WPFluent.Controls"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Window.Resources>
<ResourceDictionary>
<Storyboard x:Key="Start" Completed="Start_Completed">
<Storyboard Completed="Start_Completed" x:Key="Start">
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="viewbox" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
<EasingDoubleKeyFrame KeyTime="0" Value="0.8" />
<EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="0.8" />
@@ -54,7 +52,7 @@
<EasingDoubleKeyFrame KeyTime="0:0:3" Value="1" />
</DoubleAnimationUsingKeyFrames>
</Storyboard>
<Storyboard x:Key="End" Completed="End_Completed">
<Storyboard Completed="End_Completed" x:Key="End">
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="viewbox" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
<EasingDoubleKeyFrame KeyTime="0" Value="0.9" />
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1">
@@ -89,11 +87,11 @@
</Window.Triggers>
<Grid>
<Viewbox
Name="viewbox"
Height="{x:Static local:SplashConfig.ImageHeight}"
HorizontalAlignment="Center"
VerticalAlignment="Center"
RenderTransformOrigin="0.5,0.5">
Name="viewbox"
RenderTransformOrigin="0.5,0.5"
VerticalAlignment="Center">
<UIElement.RenderTransform>
<TransformGroup>
<ScaleTransform />