private void fpSpread1_TopChange(object sender, FarPoint.Win.Spread.TopChangeEventArgs e)
{
//FpSpread1の表示先頭行をFpSpread2に設定します(垂直スクロールの同期)
fpSpread2.SetViewportTopRow(0, e.NewTop);
}
private void fpSpread1_LeftChange(object sender, FarPoint.Win.Spread.LeftChangeEventArgs e)
{
//FpSpread1の表示先頭列をFpSpread2に設定します(水平スクロールの同期)
fpSpread2.SetViewportLeftColumn(0, e.NewLeft);
}
Private Sub FpSpread1_TopChange(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.TopChangeEventArgs) Handles FpSpread1.TopChange
'FpSpread1の表示先頭行をFpSpread2に設定します(垂直スクロールの同期)
FpSpread2.SetViewportTopRow(0, e.NewTop)
End Sub
Private Sub FpSpread1_LeftChange(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.LeftChangeEventArgs) Handles FpSpread1.LeftChange
'FpSpread1の表示先頭列をFpSpread2に設定します(水平スクロールの同期)
FpSpread2.SetViewportLeftColumn(0, e.NewLeft)
End Sub