瀏覽代碼

更新版本信息

liufei 4 年之前
父節點
當前提交
b097001e6c

+ 1 - 1
App.config

@@ -28,7 +28,7 @@
     </assemblyBinding>
   </runtime>
   <appSettings>
-    <add key="Version" value="2.3.11" />
+    <add key="Version" value="2.3.20" />
     <add key="GitHubUrl" value="https://github.com/Demo-Liu/GeekDesk" />
     <add key="GiteeUrl" value="https://gitee.com/demo_liu/GeekDesk/tree/master" />
     <add key="GitHubUpdateUrl" value="https://demo-liu.github.io/GeekDesk/Update.json" />

+ 2 - 2
Control/UserControls/Config/AboutControl.xaml

@@ -7,13 +7,13 @@
              xmlns:local="clr-namespace:GeekDesk.Control.UserControls.PannelCard"
              xmlns:hc="https://handyorg.github.io/handycontrol"
              mc:Ignorable="d" 
-             Background="AliceBlue"
+             Background="Transparent"
              d:DesignHeight="400" d:DesignWidth="500">
 
     <UserControl.Resources>
         <cvt:UpdateTypeConvert x:Key="UpdateTypeConvert"/>
     </UserControl.Resources>
-    <Grid MouseDown="DragMove" Background="AliceBlue">
+    <Grid MouseDown="DragMove">
         <hc:SimplePanel Margin="20,50,20,20" >
             <StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Top">
                 <Image Source="/Resource/Image/About.png" Width="400" Height="100"/>

+ 19 - 13
Control/Windows/ConfigWindow.xaml

@@ -18,23 +18,27 @@
     <Window.Resources>
         <Style x:Key="MenuStyle" TargetType="hc:SideMenuItem" BasedOn="{StaticResource SideMenuItemBaseStyle}">
             <Style.Setters>
-                <Setter Property="Background" Value="AliceBlue"/>
+                <Setter Property="Background" Value="Transparent"/>
             </Style.Setters>
             <Style.Triggers>
                 <Trigger Property="IsMouseOver" Value="True">
-                    <Setter Property="Background" Value="#FFE2E2E2"/>
+                    <Setter Property="Background" Value="Transparent"/>
                 </Trigger>
                 <Trigger Property="IsSelected" Value="True">
-                    <Setter Property="Background" Value="#FFDAD7D7"/>
+                    <Setter Property="Background" Value="Transparent"/>
                 </Trigger>
             </Style.Triggers>
         </Style>
     </Window.Resources>
-     <Border CornerRadius="8" BorderThickness="0">
+    <Border CornerRadius="8" BorderThickness="0">
         <Border.Background>
-            <SolidColorBrush Color="AliceBlue" Opacity="0.9"/>
+            <!--<SolidColorBrush Color="AliceBlue" Opacity="0.9"/>-->
+            <LinearGradientBrush>
+                <GradientStop Color="#009A98" Offset="0"/>
+                <GradientStop Color="#00CA68" Offset="1"/>
+            </LinearGradientBrush>
         </Border.Background>
-        <Grid>
+        <Grid Background="Transparent" MouseDown="DragMove">
             <Grid.RowDefinitions>
                 <RowDefinition Height="*"/>
             </Grid.RowDefinitions>
@@ -43,14 +47,13 @@
                 <ColumnDefinition Width="*"/>
             </Grid.ColumnDefinitions>
 
-            <hc:Card Grid.Row="0" Grid.Column="0">
-                <hc:SideMenu BorderThickness="1" 
+            <hc:Card Grid.Row="0" Grid.Column="0" Background="Transparent" BorderThickness="0">
+                <hc:SideMenu BorderThickness="0" 
                              AutoSelect="True" 
                              >
                     <hc:SideMenu.Background>
-                        <SolidColorBrush Color="AliceBlue"/>
+                        <SolidColorBrush Color="#00FFFFFF"/>
                     </hc:SideMenu.Background>
-
                     <hc:SideMenu.ItemContainerStyle>
                         <Style TargetType="hc:SideMenuItem" BasedOn="{StaticResource MenuStyle}"/>
                     </hc:SideMenu.ItemContainerStyle>
@@ -63,7 +66,7 @@
                         <hc:SideMenuItem.Icon>
                             <Button Background="Transparent" 
                                     IsEnabled="False"
-                                    Opacity="1"
+                                    Opacity="0.9"
                                     BorderThickness="0"
                                     hc:IconElement.Geometry="{StaticResource About}" 
                                     hc:IconElement.Height="18"
@@ -120,8 +123,11 @@
                     </hc:SideMenuItem>
                 </hc:SideMenu>
             </hc:Card>
-            <hc:ScrollViewer  Grid.Row="0" Grid.Column="1">
-                <hc:Card x:Name="RightCard" Height="480">
+            <hc:ScrollViewer  Grid.Row="0" Grid.Column="1" BorderThickness="0">
+                <hc:Card x:Name="RightCard" Height="480" BorderThickness="0">
+                    <hc:Card.Background>
+                        <SolidColorBrush  Opacity="0"/>
+                    </hc:Card.Background>
                 </hc:Card>
             </hc:ScrollViewer>
 

+ 13 - 0
Control/Windows/ConfigWindow.xaml.cs

@@ -63,6 +63,19 @@ namespace GeekDesk.Control.Windows
             }
         }
 
+        /// <summary>
+        /// 移动窗口
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void DragMove(object sender, System.Windows.Input.MouseButtonEventArgs e)
+        {
+            if (e.LeftButton == MouseButtonState.Pressed)
+            {
+                this.DragMove();
+            }
+        }
+
         private static System.Windows.Window window = null;
         public static void Show(AppConfig appConfig, MainWindow mainWindow)
         {

+ 2 - 2
Properties/AssemblyInfo.cs

@@ -49,5 +49,5 @@ using System.Windows;
 //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
 //通过使用 "*",如下所示:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("2.3.1.1")]
-[assembly: AssemblyFileVersion("2.3.1.1")]
+[assembly: AssemblyVersion("2.3.2.0")]
+[assembly: AssemblyFileVersion("2.3.2.0")]

+ 3 - 3
Update.json

@@ -1,9 +1,9 @@
 {
 	"title": "版本更新",
-	"subTitle": "V2.3.11 正式版",
+	"subTitle": "V2.3.20 正式版",
 	"msgTitle": "本次更新内容如下",
-	"msg": "['2.3.10版本有个小bug,所以紧接着更新了2.3.11,不好意思兄dei们,如果喜欢的话去给我点个Star啊(*^__^*)','修复打开显示设置后,贴边隐藏卡顿的问题','修复无法删除历史待办任务的BUG','添加定时内存回收,现在可占用更小的内存','修复启动时桌面会有两个黑点窗口的BUG','添加自定义图标大小','待办任务可使用CRON表达式自定义提醒频率']",
+	"msg": "['']",
 	"githubUrl": "https://github.com/Demo-Liu/GeekDesk/releases/tag",
 	"giteeUrl": "https://gitee.com/demo_liu/GeekDesk/releases",
-	"version": "2.3.11"
+	"version": "2.3.20"
 }