修复性能窗口最小化异常的BUG

This commit is contained in:
dathlin
2017-07-07 13:14:22 +08:00
parent 898472688a
commit f4e7add825

View File

@@ -53,11 +53,14 @@ namespace CommonLibrary
if (data != null)
{
if (IsWindowShow)
{
if (pictureBox1.Width > 10)
{
pictureBox1.Image?.Dispose();
pictureBox1.Image = HslCommunication.BasicFramework.SoftPainting.GetGraphicFromArray(data, pictureBox1.Width - 2, pictureBox1.Height - 2, 7, Color.Blue);
}
}
}
DataTemp = data;
}
}