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