优化数据库查询 修复自定义控件datagridview图片显示bug

This commit is contained in:
wule committed 2026-02-12 19:21:03 +08:00
1 parent 5eea769672
commit 4038b0390a
10 files changed
+180 -56

No files matched your search

+9 -1
View File
@@ -781,7 +781,15 @@ namespace TemuKJD.Extension
while (isScroll && 1 == 1)
Thread.Sleep(1);
isScroll = true;
ShowDgvImg(dgv, new List<DataGridViewRow> { dgv.Rows[e.RowIndex] }, imgColumn, imgPathColumn, isSetHttpsHttp);
try
{
if (dgv.Rows.Count > e.RowIndex)
ShowDgvImg(dgv, new List<DataGridViewRow> { dgv.Rows[e.RowIndex] }, imgColumn, imgPathColumn, isSetHttpsHttp);
}
catch
{
}
isScroll = false;
});
}