步进电机 挡料地
This commit is contained in:
@ -253,10 +253,16 @@ namespace DHSoftware.Views
|
||||
|
||||
private void AutoScrollIfNeeded()
|
||||
{
|
||||
if (lvLog.Items.Count > 0 /*&& chkAutoScroll.Checked*/)
|
||||
try
|
||||
{
|
||||
lvLog.EnsureVisible(lvLog.Items.Count - 1);
|
||||
if (lvLog.Items.Count > 0 /*&& chkAutoScroll.Checked*/)
|
||||
{
|
||||
lvLog.EnsureVisible(lvLog.Items.Count - 1);
|
||||
}
|
||||
}
|
||||
catch (Exception ex) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void UpdateLayout()
|
||||
|
Reference in New Issue
Block a user