diff --git a/Control/Other/GradientBGDialog.xaml b/Control/Other/GradientBGDialog.xaml
index e5a6216..8e9bb3f 100644
--- a/Control/Other/GradientBGDialog.xaml
+++ b/Control/Other/GradientBGDialog.xaml
@@ -3,56 +3,72 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:hc="https://handyorg.github.io/handycontrol"
CornerRadius="4"
- Width="600"
- Height="400"
- Style="{StaticResource BorderBG}"
>
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Control/Other/GradientBGDialog.xaml.cs b/Control/Other/GradientBGDialog.xaml.cs
index 401d2b7..d13a8ee 100644
--- a/Control/Other/GradientBGDialog.xaml.cs
+++ b/Control/Other/GradientBGDialog.xaml.cs
@@ -3,7 +3,7 @@ using GeekDesk.ViewModel;
using GeekDesk.ViewModel.Temp;
using System.Windows;
using System.Windows.Controls;
-
+using System.Windows.Input;
namespace GeekDesk.Control.Other
{
@@ -31,5 +31,22 @@ namespace GeekDesk.Control.Other
MainWindow.appData.AppConfig.GradientBGParam = bgParam;
BGSettingUtil.BGSetting();
}
+
+ ///
+ /// 移动窗口
+ ///
+ ///
+ ///
+ private void DragMove(object sender, System.Windows.Input.MouseButtonEventArgs e)
+ {
+ if (e.LeftButton == MouseButtonState.Pressed)
+ {
+ Window.GetWindow(this).DragMove();
+ }
+ }
+
+
+
+
}
}
diff --git a/ViewModel/Temp/GradientBGParamList.cs b/ViewModel/Temp/GradientBGParamList.cs
index 87b3e0d..00d81fb 100644
--- a/ViewModel/Temp/GradientBGParamList.cs
+++ b/ViewModel/Temp/GradientBGParamList.cs
@@ -13,10 +13,9 @@ namespace GeekDesk.ViewModel.Temp
//gradientBGParams = (ObservableCollection)ConfigurationManager.GetSection("SystemBGs")
gradientBGParams = new ObservableCollection
{
- new GradientBGParam("诸神黄昏", "#FCCF31", "#F55555"),
- new GradientBGParam ("森林之友", "#EBF7E3", "#A8E4C0"),
new GradientBGParam("魅惑妖术", "#FFDDE1", "#EE9CA7"),
- new GradientBGParam("魅惑妖术", "#D2F6FF", "#91B0E4")
+ new GradientBGParam ("森林之友", "#EBF7E3", "#A8E4C0"),
+ new GradientBGParam("完美谢幕", "#D76D77", "#FFAF7B")
};
}