更新整理

This commit is contained in:
GG Z
2025-04-24 20:56:44 +08:00
parent 155cef46f8
commit 5b6d67b571
813 changed files with 14437 additions and 12362 deletions

View File

@@ -1,16 +1,17 @@
using WPFluent.Interop;
using System;
using System.Diagnostics;
using System.IO.Packaging;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Interop;
using System.Windows.Threading;
using WPFluent.Interop;
namespace WPFluent.Controls;
public static class Splash
@@ -45,7 +46,7 @@ public static class Splash
if (completed != null)
{
_ = Task.Run(() =>
Task.Run(() =>
{
try
{
@@ -76,8 +77,8 @@ public static class Splash
{
nint hwnd = new WindowInteropHelper(owner).Handle;
_ = User32.SetForegroundWindow(hwnd);
_ = User32.BringWindowToTop(hwnd);
User32.SetForegroundWindow(hwnd);
User32.BringWindowToTop(hwnd);
});
};
if (forced)