private void SumTable_Scroll(object sender, ScrollEventArgs e)//滚动同步
{
CycleTable.FirstDisplayedScrollingRowIndex = SumTable.FirstDisplayedScrollingRowIndex;//行滚动同步
//CycleTable.FirstDisplayedScrollingColumnIndex = SumTable.FirstDisplayedScrollingColumnIndex;//列滚动同步
}
private void CycleTable_Scroll(object sender, ScrollEventArgs e)//滚动同步
{
SumTable.FirstDisplayedScrollingRowIndex = CycleTable.FirstDisplayedScrollingRowIndex;
//SumTable.FirstDisplayedScrollingColumnIndex = CycleTable.FirstDisplayedScrollingColumnIndex;//列滚动同步
}