|
|
|
@ -73,6 +73,8 @@ namespace RfidWeb.Frm
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
this.Invoke(() =>
|
|
|
|
|
{
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
int currentFirstVisibleRowIndex = dataGridView1.FirstDisplayedScrollingRowIndex;
|
|
|
|
|
this.dataGridView1.DataSource = lsList;
|
|
|
|
@ -80,6 +82,12 @@ namespace RfidWeb.Frm
|
|
|
|
|
{
|
|
|
|
|
dataGridView1.FirstDisplayedScrollingRowIndex = currentFirstVisibleRowIndex;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
catch (Exception e)
|
|
|
|
|
{
|
|
|
|
|
Console.WriteLine(e);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -98,6 +106,8 @@ namespace RfidWeb.Frm
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
this.Invoke(() =>
|
|
|
|
|
{
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
int currentFirstVisibleRowIndex = dataGridView2.FirstDisplayedScrollingRowIndex;
|
|
|
|
|
this.dataGridView2.DataSource = lsList;
|
|
|
|
@ -105,6 +115,11 @@ namespace RfidWeb.Frm
|
|
|
|
|
{
|
|
|
|
|
dataGridView2.FirstDisplayedScrollingRowIndex = currentFirstVisibleRowIndex;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
catch (Exception e)
|
|
|
|
|
{
|
|
|
|
|
Console.WriteLine(e.Message);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|