增加渐变背景切换

This commit is contained in:
liufei
2022-05-09 15:25:48 +08:00
parent 4941037081
commit ed0eaee98f
6 changed files with 287 additions and 55 deletions

View File

@@ -18,6 +18,7 @@ using System.Collections.ObjectModel;
using NPinyin;
using GeekDesk.ViewModel.Temp;
using System.Threading;
using DraggAnimatedPanelExample;
namespace GeekDesk
{
@@ -52,6 +53,7 @@ namespace GeekDesk
}
}
/// <summary>
/// 显示搜索框
/// </summary>
@@ -110,7 +112,6 @@ namespace GeekDesk
/// </summary>
private void LoadData()
{
GC.KeepAlive(appData); // 持活
this.DataContext = appData;
if (appData.MenuList.Count == 0)
{
@@ -129,6 +130,7 @@ namespace GeekDesk
/// <param name="e"></param>
void Window_Loaded(object sender, RoutedEventArgs e)
{
BGSettingUtil.BGSetting();
if (!appData.AppConfig.StartedShowPanel)
{
if (appData.AppConfig.AppAnimation)