性能组件移动到公共组件中,在服务器端和客户端提供一致的呈现。

This commit is contained in:
dathlin
2017-07-02 18:48:35 +08:00
parent 0f84aef54c
commit 5afc21e054
8 changed files with 63 additions and 31 deletions

View File

@@ -316,6 +316,18 @@ namespace 软件系统服务端模版
}
private void label_GC_Memery_Click(object sender, EventArgs e)
{
//点击了性能组件
using (FormSuper fs = new FormSuper(() =>
{
return SoftCachePerfomance.GetIntArray();
}))
{
fs.ShowDialog();
}
}
#endregion
#region
@@ -890,7 +902,7 @@ namespace 软件系统服务端模版
#region
private SoftCacheArrayInt SoftCachePerfomance = new SoftCacheArrayInt(400, 0);
private SoftCacheArrayInt SoftCachePerfomance = new SoftCacheArrayInt(500, 0);
private void AddPerfomace(long value)
{
@@ -1196,5 +1208,7 @@ namespace 软件系统服务端模版
}
#endregion
}
}