修复winform客户端在线数量显示异常的BUG,v1.6.21

This commit is contained in:
dathlin
2017-10-18 13:46:57 +08:00
parent 2cd8989cc6
commit 18d81f31d3
3 changed files with 6 additions and 4 deletions

View File

@@ -31,6 +31,7 @@ namespace ClientsLibrary.BasicSupport
} }
Location_Y = 0; Location_Y = 0;
label2.Text = MyControls.Count.ToString();
} }
/// <summary> /// <summary>
@@ -111,7 +112,6 @@ namespace ClientsLibrary.BasicSupport
if (accounts != null) if (accounts != null)
{ {
label2.Text = accounts.Length.ToString();
if (accounts.Length > 0 && Width > 20) if (accounts.Length > 0 && Width > 20)
{ {
@@ -122,8 +122,10 @@ namespace ClientsLibrary.BasicSupport
} }
} }
} }
ResumeLayout(); ResumeLayout();
label2.Text = MyControls.Count.ToString();
} }
private int Location_Y = 0; private int Location_Y = 0;

View File

@@ -37,7 +37,7 @@ namespace ClientsLibrary
/// <summary> /// <summary>
/// 本软件的当前版本,用来验证更新的关键依据 /// 本软件的当前版本,用来验证更新的关键依据
/// </summary> /// </summary>
public static SystemVersion CurrentVersion { get; } = new SystemVersion("1.0.0.171017"); public static SystemVersion CurrentVersion { get; } = new SystemVersion("1.0.0.171018");
/// <summary> /// <summary>

View File

@@ -43,7 +43,7 @@ namespace CommonLibrary
**************************************************************************/ **************************************************************************/
SoftBasic.FrameworkVersion = new SystemVersion("1.6.20"); SoftBasic.FrameworkVersion = new SystemVersion("1.6.21");
} }