private void Form1_Load(object sender, EventArgs e)
{
fpSpread1.ActiveSheet.OperationMode = FarPoint.Win.Spread.OperationMode.RowMode;
}
private void fpSpread1_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
{
// RowMode以外の場合のみ処理を実行
if (fpSpread1.ActiveSheet.OperationMode != FarPoint.Win.Spread.OperationMode.RowMode)
{
Console.WriteLine("SelectionChanged");
}
}
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
FpSpread1.ActiveSheet.OperationMode = FarPoint.Win.Spread.OperationMode.RowMode
End Sub
Private Sub FpSpread1_SelectionChanged(ByVal sender As System.Object, ByVal e As FarPoint.Win.Spread.SelectionChangedEventArgs) Handles FpSpread1.SelectionChanged
' RowMode以外の場合のみ処理を実行
If FpSpread1.ActiveSheet.OperationMode <> FarPoint.Win.Spread.OperationMode.RowMode Then
Console.WriteLine("SelectionChanged")
End If
End Sub