From 4490364cda5770a3c3fbf0ae82ed6cb3d13de050 Mon Sep 17 00:00:00 2001 From: Mahdi Hosseini Date: Thu, 25 Jul 2019 15:00:28 +0430 Subject: [PATCH] support blur window in core3 --- .../HandyControl_Core_30/HandyControl_Core_30.csproj | 3 +++ src/Shared/HandyControlDemo_Shared/App.xaml.cs | 3 +-- .../HandyControlDemo_Shared/Tools/Helper/CommonHelper.cs | 6 ++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Core_30/HandyControl_Core_30/HandyControl_Core_30.csproj b/src/Core_30/HandyControl_Core_30/HandyControl_Core_30.csproj index 0bd1c286..092ee74b 100644 --- a/src/Core_30/HandyControl_Core_30/HandyControl_Core_30.csproj +++ b/src/Core_30/HandyControl_Core_30/HandyControl_Core_30.csproj @@ -45,6 +45,9 @@ + + + Resources\dropper.cur diff --git a/src/Shared/HandyControlDemo_Shared/App.xaml.cs b/src/Shared/HandyControlDemo_Shared/App.xaml.cs index 08ba9c5b..6a5d08ab 100644 --- a/src/Shared/HandyControlDemo_Shared/App.xaml.cs +++ b/src/Shared/HandyControlDemo_Shared/App.xaml.cs @@ -26,9 +26,8 @@ namespace HandyControlDemo UpdateSkin(GlobalData.Config.Skin); } -#if !Core ConfigHelper.Instance.SetSystemVersionInfo(CommonHelper.GetSystemVersionInfo()); -#endif + ServicePointManager.SecurityProtocol = (SecurityProtocolType)(SslProtocols)0x00000C00; } diff --git a/src/Shared/HandyControlDemo_Shared/Tools/Helper/CommonHelper.cs b/src/Shared/HandyControlDemo_Shared/Tools/Helper/CommonHelper.cs index 2743f1fc..a9daea11 100644 --- a/src/Shared/HandyControlDemo_Shared/Tools/Helper/CommonHelper.cs +++ b/src/Shared/HandyControlDemo_Shared/Tools/Helper/CommonHelper.cs @@ -1,5 +1,4 @@ -#if !Core -using System.Linq; +using System.Linq; using System.Management; using HandyControl.Data; @@ -23,5 +22,4 @@ namespace HandyControlDemo.Tools return default(SystemVersionInfo); } } -} -#endif \ No newline at end of file +} \ No newline at end of file