- Public Class Form1
- Friend WithEvents sheet1 As SheetView
- Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
- sheet1 = FpSpread1.Sheets(0)
- AddHandler sheet1.CellChanged, AddressOf FpSpread1_Sheet1_CellChanged
- End Sub
- Private Sub FpSpread1_Sheet1_CellChanged(sender As Object, e As SheetViewEventArgs) Handles sheet1.CellChanged
- End Sub
- End Class
复制代码 |