修复性能窗口最小化异常的BUG
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user