private void fpSpread1LeaveCell(object sender, FarPoint.Win.Spread.LeaveCellEventArgs e)
{
int i;
i = fpSpread1.ActiveSheet.SetModelRowForViewRow(e.Row, 1);
MessageBox.Show("The previous model row index mapped to the specified view row is row " + i.ToString());
}
Private Sub FpSpread1LeaveCell(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.LeaveCellEventArgs) Handles FpSpread1.LeaveCell
Dim i As Integer
i = FpSpread1.ActiveSheet.SetModelRowForViewRow(e.Row, 1)
MessageBox.Show("The previous model row index mapped to the specified view row is row " & i.ToString())
End Sub