wpf下载异常修复,日志界面UI调整,v1.4.5
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -32,30 +32,17 @@ namespace CommonLibrary
|
||||
|
||||
|
||||
/**************************************************************************
|
||||
*
|
||||
* 说明:以下是大版本号的发布日期
|
||||
*
|
||||
* 时间: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月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
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用于整个网络服务交互的身份令牌,可有效的防止来自网络的攻击,重新生成令牌后就无法更改,否则不支持自动升级
|
||||
/// 用于整个网络服务交互的身份令牌,可有效的防止来自网络的攻击,其他系统的恶意的连接
|
||||
/// 重新生成令牌后就无法更改,否则不支持自动升级
|
||||
/// </summary>
|
||||
public static Guid KeyToken { get; set; } = new Guid("1275BB9A-14B2-4A96-9673-B0AF0463D474");
|
||||
|
||||
|
||||
@@ -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(() =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user