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