次のサンプルコードは、PrintAbortイベントを作成します。
fpSpread1.PrintAbort += new FarPoint.Win.Spread.PrintAbortEventHandler(fpSpread1PrintAbort);
private void fpSpread1PrintAbort(object sender, FarPoint.Win.Spread.PrintAbortEventArgs e)
{
}
Dim eh As FarPoint.Win.Spread.PrintAbortEventHandler = AddressOf FpSpread1PrintAbort
AddHandler FpSpread1.PrintAbort, eh
Private Sub FpSpread1PrintAbort(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.PrintAbortEventArgs) Handles FpSpread1.PrintAbort
End Sub