2.0正式版
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
<appSettings>
|
<appSettings>
|
||||||
<add key="Version" value="1.0-beta" />
|
<add key="Version" value="2.0" />
|
||||||
|
|
||||||
<add key="GitHubUrl" value="https://github.com/Demo-Liu/GeekDesk" />
|
<add key="GitHubUrl" value="https://github.com/Demo-Liu/GeekDesk" />
|
||||||
<add key="GiteeUrl" value="https://gitee.com/demo_liu/GeekDesk/tree/master" />
|
<add key="GiteeUrl" value="https://gitee.com/demo_liu/GeekDesk/tree/master" />
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ using Microsoft.Win32;
|
|||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Threading;
|
using System.Windows.Threading;
|
||||||
|
|
||||||
namespace GeekDesk
|
namespace GeekDesk
|
||||||
|
|||||||
@@ -96,12 +96,12 @@
|
|||||||
<TextBlock MaxWidth="80"
|
<TextBlock MaxWidth="80"
|
||||||
Margin="0,5,0,0"
|
Margin="0,5,0,0"
|
||||||
MaxHeight="40"
|
MaxHeight="40"
|
||||||
|
FontSize="13"
|
||||||
TextWrapping="Wrap"
|
TextWrapping="Wrap"
|
||||||
TextTrimming="WordEllipsis"
|
TextTrimming="WordEllipsis"
|
||||||
TextAlignment="Center"
|
TextAlignment="Center"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Text="{Binding Name}"/>
|
Text="{Binding Name}"/>
|
||||||
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ListBox.ItemTemplate>
|
</ListBox.ItemTemplate>
|
||||||
|
|||||||
@@ -190,6 +190,7 @@ namespace GeekDesk.Control.UserControls.PannelCard
|
|||||||
iconInfo.Name = path;
|
iconInfo.Name = path;
|
||||||
}
|
}
|
||||||
MainWindow.appData.MenuList[appData.AppConfig.SelectedMenuIndex].IconList.Add(iconInfo);
|
MainWindow.appData.MenuList[appData.AppConfig.SelectedMenuIndex].IconList.Add(iconInfo);
|
||||||
|
CommonCode.SaveAppData(MainWindow.appData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -232,7 +233,7 @@ namespace GeekDesk.Control.UserControls.PannelCard
|
|||||||
|
|
||||||
private void StackPanel_MouseLeave(object sender, MouseEventArgs e)
|
private void StackPanel_MouseLeave(object sender, MouseEventArgs e)
|
||||||
{
|
{
|
||||||
ImgStroyBoard(sender, (int)MainWindowEnum.IMAGE_HEIGHT, (int)MainWindowEnum.IMAGE_WIDTH, 500);
|
ImgStroyBoard(sender, (int)MainWindowEnum.IMAGE_HEIGHT, (int)MainWindowEnum.IMAGE_WIDTH, 250);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -245,6 +246,7 @@ namespace GeekDesk.Control.UserControls.PannelCard
|
|||||||
|
|
||||||
Image img = sp.Children[0] as Image;
|
Image img = sp.Children[0] as Image;
|
||||||
|
|
||||||
|
|
||||||
DoubleAnimation heightAnimation = new DoubleAnimation();
|
DoubleAnimation heightAnimation = new DoubleAnimation();
|
||||||
DoubleAnimation widthAnimation = new DoubleAnimation();
|
DoubleAnimation widthAnimation = new DoubleAnimation();
|
||||||
|
|
||||||
@@ -257,6 +259,10 @@ namespace GeekDesk.Control.UserControls.PannelCard
|
|||||||
heightAnimation.Duration = new Duration(TimeSpan.FromMilliseconds(milliseconds));
|
heightAnimation.Duration = new Duration(TimeSpan.FromMilliseconds(milliseconds));
|
||||||
widthAnimation.Duration = new Duration(TimeSpan.FromMilliseconds(milliseconds));
|
widthAnimation.Duration = new Duration(TimeSpan.FromMilliseconds(milliseconds));
|
||||||
|
|
||||||
|
|
||||||
|
Timeline.SetDesiredFrameRate(heightAnimation, 60);
|
||||||
|
Timeline.SetDesiredFrameRate(widthAnimation, 60);
|
||||||
|
|
||||||
img.BeginAnimation(HeightProperty, heightAnimation);
|
img.BeginAnimation(HeightProperty, heightAnimation);
|
||||||
img.BeginAnimation(WidthProperty, widthAnimation);
|
img.BeginAnimation(WidthProperty, widthAnimation);
|
||||||
}
|
}
|
||||||
|
|||||||
10
Update.json
10
Update.json
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"title" : "<22>汾<EFBFBD><E6B1BE><EFBFBD><EFBFBD>",
|
"title" : "<22>汾<EFBFBD><E6B1BE><EFBFBD><EFBFBD>",
|
||||||
"subTitle" : "V1.0-beta",
|
"subTitle" : "V2.0 <20><>ʽ<EFBFBD><CABD>",
|
||||||
"msgTitle" : "<22><><EFBFBD>θ<EFBFBD><CEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
"msgTitle" : "<22><><EFBFBD>θ<EFBFBD><CEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",
|
||||||
"msg" : "['<27><><EFBFBD>²<EFBFBD><EFBFBD><EFBFBD>1','<27><><EFBFBD>²<EFBFBD><EFBFBD><EFBFBD>23']",
|
"msg" : "['<27><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>²<EFBFBD><EFBFBD>ٵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD>','<27><EFBFBD><DEB8><EFBFBD>ʷ<EFBFBD><CAB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>bug','<27><EFBFBD>ijЩͼ<D0A9><CDBC><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1>С<EFBFBD><D0A1>bug','<27><><EFBFBD>Ӵ<EFBFBD><D3B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>óɹ<C3B3><C9B9><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD>','<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ','<27><><EFBFBD>ӵ<EFBFBD><EFBFBD><EFBFBD>ϵͳ<EFBFBD>˵<EFBFBD>']",
|
||||||
"githubUrl" : "https://github.com/Demo-Liu/GeekDesk/releases/tag/1.0-beta",
|
"githubUrl" : "https://github.com/Demo-Liu/GeekDesk/releases/tag/2.0",
|
||||||
"giteeUrl" : "https://gitee.com/demo_liu/GeekDesk/releases/1.0-beta",
|
"giteeUrl" : "https://gitee.com/demo_liu/GeekDesk/releases/2.0",
|
||||||
"version": "1.0-beta"
|
"version": "2.0"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user