Skip to content

Portable Tool for an Ideal Windows Setup

-darkened screen when creating a restore point

Greedeksd59609e3633a
diff --git a/.Source/GTweak/View/MoreView.xaml.cs b/.Source/GTweak/View/MoreView.xaml.cs
index 275aeadf..65bce23f 100644
--- a/.Source/GTweak/View/MoreView.xaml.cs
+++ b/.Source/GTweak/View/MoreView.xaml.cs
@@ -1,6 +1,7 @@
using GTweak.Utilities.Control;
using GTweak.Utilities.Helpers;
using GTweak.Utilities.Tweaks;
+using GTweak.Windows;
using System;
using System.Diagnostics;
using System.Windows.Controls;
@@ -27,9 +28,12 @@ namespace GTweak.View
private async void BtnRestorePoint_ClickButton(object sender, EventArgs e)
{
+ WaitingWindow waitingWindow = new WaitingWindow();
+ waitingWindow.Show();
new ViewNotification().Show("", "info", (string)FindResource("createpoint_notification"));
BackgroundQueue backgroundQueue = new BackgroundQueue();
await backgroundQueue.QueueTask(delegate { SystemMaintenance.CreateRestorePoint(); });
+ waitingWindow.Close();
}
private void BtnRecoveyLaunch_ClickButton(object sender, EventArgs e) => SystemMaintenance.StartRecovery();