diff --git a/Actions/AdvancedShutdownAction.cs b/Actions/AdvancedShutdownAction.cs
index bf016d7..ef5a366 100644
--- a/Actions/AdvancedShutdownAction.cs
+++ b/Actions/AdvancedShutdownAction.cs
@@ -317,8 +317,7 @@ private async Task ShowStyledDialogAsync()
var dialog = new AdvancedShutdownDialog
{
- CanResize = false,
- SystemDecorations = SystemDecorations.Full
+ CanResize = false
};
_activeDialog = dialog;
diff --git a/Properties/launchSettings.json b/Properties/launchSettings.json
index 62679e7..0f8cbe2 100644
--- a/Properties/launchSettings.json
+++ b/Properties/launchSettings.json
@@ -2,9 +2,9 @@
"profiles": {
"ClassIsland 插件": {
"commandName": "Executable",
- "executablePath": "F:\\ci\\Newest\\app-2.0.2.0-0\\ClassIsland.Desktop.exe",
+ "executablePath": "C:\\Users\\arcwolf\\source\\repos\\ClassIsland\\ClassIsland.Desktop\\bin\\Debug\\net8.0-windows10.0.19041.0\\ClassIsland.Desktop.exe",
"commandLineArgs": "-epp $(TargetDir)",
- "workingDirectory": "F:\\ci\\Newest\\"
+ "workingDirectory": "D:\\Users\\arcwolf\\Documents\\ci"
}
}
}
\ No newline at end of file
diff --git a/Views/AdvancedShutdownDialog.axaml b/Views/AdvancedShutdownDialog.axaml
index 55c7da0..40435f3 100644
--- a/Views/AdvancedShutdownDialog.axaml
+++ b/Views/AdvancedShutdownDialog.axaml
@@ -1,4 +1,4 @@
-
+ Title="高级计时关机"
+ ShowAsDialog="True">
-
-
-
-
-
-
-
-
+
+
-
+
+
+
+
+
-
-
-
+
-
-
+
-
-
-
-
+
+
+
-
+
diff --git a/Views/AdvancedShutdownDialog.axaml.cs b/Views/AdvancedShutdownDialog.axaml.cs
index 26065fe..fc63f30 100644
--- a/Views/AdvancedShutdownDialog.axaml.cs
+++ b/Views/AdvancedShutdownDialog.axaml.cs
@@ -3,10 +3,11 @@
using Avalonia.Markup.Xaml;
using System;
using Avalonia.Threading;
+using ClassIsland.Core.Controls;
namespace SystemTools.Views;
-public partial class AdvancedShutdownDialog : Window
+public partial class AdvancedShutdownDialog : MyWindow
{
public AdvancedShutdownDialog()
{
diff --git a/Views/ExtendShutdownDialog.axaml b/Views/ExtendShutdownDialog.axaml
index f70aefd..dafd77a 100644
--- a/Views/ExtendShutdownDialog.axaml
+++ b/Views/ExtendShutdownDialog.axaml
@@ -1,4 +1,4 @@
-
+ Title="延长关机时间"
+ ShowAsDialog="True">
-
@@ -24,4 +25,4 @@
-
+
diff --git a/Views/ExtendShutdownDialog.axaml.cs b/Views/ExtendShutdownDialog.axaml.cs
index 645df85..632ddb1 100644
--- a/Views/ExtendShutdownDialog.axaml.cs
+++ b/Views/ExtendShutdownDialog.axaml.cs
@@ -4,10 +4,11 @@
using Avalonia;
using System;
using Avalonia.Threading;
+using ClassIsland.Core.Controls;
namespace SystemTools.Views;
-public partial class ExtendShutdownDialog : Window
+public partial class ExtendShutdownDialog : MyWindow
{
public int? ResultMinutes { get; private set; }