private void fpSpread1_ActiveSheetChanging(object sender, FarPoint.Win.Spread.ActiveSheetChangingEventArgs e)
{
//シート切り替えをキャンセルします
e.Cancel = true;
}
private void fpSpread1_ActiveSheetChanged(object sender, System.EventArgs e)
{
Console.WriteLine("アクティブシートが切り替わりました");
}
Private Sub FpSpread1_ActiveSheetChanging(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.ActiveSheetChangingEventArgs) Handles FpSpread1.ActiveSheetChanging
'シート切り替えをキャンセルします
e.Cancel = True
End Sub
Private Sub FpSpread1_ActiveSheetChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles FpSpread1.ActiveSheetChanged
Console.WriteLine("アクティブシートが切り替わりました。")
End Sub