FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 : SheetViewPropertyChangeEventHandler デリゲート |
'Declaration Public Delegate Sub SheetViewPropertyChangeEventHandler( _ ByVal sender As Object, _ ByVal e As SheetViewPropertyChangeEventArgs _ )
'使用法 Dim instance As New SheetViewPropertyChangeEventHandler(AddressOf HandlerMethod)
public delegate void SheetViewPropertyChangeEventHandler( object sender, SheetViewPropertyChangeEventArgs e )
fpSpread1_Sheet1.PropertyChanged += new FarPoint.Win.Spread.SheetViewPropertyChangeEventHandler(fpSpread1_Sheet1_Pro pertyChanged); private void fpSpread1_Sheet1_PropertyChanged(object sender, FarPoint.Win.Spread.SheetViewPropertyChangeEventArgs e) { MessageBox.Show("The " + e.PropertyName + " property has changed."); }
Dim eh As FarPoint.Win.Spread.SheetViewPropertyChangeEventHandler = AddressOf FpSpread1_Sheet1_PropertyChanged AddHandler FpSpread1_Sheet1.PropertyChanged, eh Private Sub FpSpread1_Sheet1_PropertyChanged(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.SheetViewPropertyChangeEventArgs) MessageBox.Show("The " & e.PropertyName & " property has changed.") End Sub