diff --git a/ClientsLibrary/LogsSupport/FormLogView.Designer.cs b/ClientsLibrary/LogsSupport/FormLogView.Designer.cs index fb12f09..36b6b27 100644 --- a/ClientsLibrary/LogsSupport/FormLogView.Designer.cs +++ b/ClientsLibrary/LogsSupport/FormLogView.Designer.cs @@ -61,7 +61,7 @@ this.userButton16.Name = "userButton16"; this.userButton16.Size = new System.Drawing.Size(103, 26); this.userButton16.TabIndex = 46; - this.userButton16.UIText = "头像日志清空"; + this.userButton16.UIText = "文件日志清空"; this.userButton16.Click += new System.EventHandler(this.userButton16_Click); // // userButton17 @@ -76,7 +76,7 @@ this.userButton17.Name = "userButton17"; this.userButton17.Size = new System.Drawing.Size(103, 26); this.userButton17.TabIndex = 45; - this.userButton17.UIText = "头像日志查看"; + this.userButton17.UIText = "文件日志查看"; this.userButton17.Click += new System.EventHandler(this.userButton17_Click); // // userButton15 diff --git a/CommonLibrary/ProtocolSupport/CommonProtocol.cs b/CommonLibrary/ProtocolSupport/CommonProtocol.cs index 8acbcca..c3d02cd 100644 --- a/CommonLibrary/ProtocolSupport/CommonProtocol.cs +++ b/CommonLibrary/ProtocolSupport/CommonProtocol.cs @@ -33,29 +33,16 @@ namespace CommonLibrary /************************************************************************** * - * 时间:2017年7月7日 14:11:35 版本号:1.1.0 - * - **************************************************************************/ - - /************************************************************************** - * + * 说明:以下是大版本号的发布日期 + * + * 时间:2017年7月7日 14:11:35 版本号:1.1.0 * 时间:2017年7月18日 15:10:18 版本号:1.2.0 - * - **************************************************************************/ - - /************************************************************************** - * - * 时间:2017年9月3日 13:27:52 版本号:1.3.0 - * - **************************************************************************/ - - /************************************************************************** - * + * 时间:2017年9月3日 13:27:52 版本号:1.3.0 * 时间:2017年9月19日 22:06:27 版本号:1.4.0 * **************************************************************************/ - SoftBasic.FrameworkVersion = new SystemVersion("1.4.4"); + SoftBasic.FrameworkVersion = new SystemVersion("1.4.5"); } @@ -69,7 +56,8 @@ namespace CommonLibrary /// - /// 用于整个网络服务交互的身份令牌,可有效的防止来自网络的攻击,重新生成令牌后就无法更改,否则不支持自动升级 + /// 用于整个网络服务交互的身份令牌,可有效的防止来自网络的攻击,其他系统的恶意的连接 + /// 重新生成令牌后就无法更改,否则不支持自动升级 /// public static Guid KeyToken { get; set; } = new Guid("1275BB9A-14B2-4A96-9673-B0AF0463D474"); diff --git a/软件系统客户端Wpf/Views/UserFileRenderItem.xaml.cs b/软件系统客户端Wpf/Views/UserFileRenderItem.xaml.cs index 07eeece..8bd0901 100644 --- a/软件系统客户端Wpf/Views/UserFileRenderItem.xaml.cs +++ b/软件系统客户端Wpf/Views/UserFileRenderItem.xaml.cs @@ -34,7 +34,7 @@ namespace 软件系统客户端Wpf.Views { KeyToken = CommonLibrary.CommonProtocol.KeyToken, LogNet = UserClient.LogNet, - ServerIpEndPoint =new IPEndPoint(IPAddress.Parse(UserClient.ServerIp),CommonLibrary.CommonProtocol.Port_Advanced_File_Server) + ServerIpEndPoint =new IPEndPoint(IPAddress.Parse(UserClient.ServerIp),CommonLibrary.CommonProtocol.Port_Share_File) }; } @@ -128,14 +128,17 @@ namespace 软件系统客户端Wpf.Views save_file_name += "\\" + Hufile.FileName; - OperateResult result = fileClient.DownloadFile(Hufile.FileName, + OperateResult result = fileClient.DownloadFile( + Hufile.FileName, (m, n) => { Dispatcher.Invoke(new Action(() => { FileDownloadProgress.Value = m * 100 / n; })); - }, save_file_name); + }, + save_file_name + ); Dispatcher.Invoke(new Action(() => {