FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 : PrintMessageBoxEventHandler デリゲート |
'Declaration Public Delegate Sub PrintMessageBoxEventHandler( _ ByVal sender As Object, _ ByVal e As PrintMessageBoxEventArgs _ )
'使用法 Dim instance As New PrintMessageBoxEventHandler(AddressOf HandlerMethod)
public delegate void PrintMessageBoxEventHandler( object sender, PrintMessageBoxEventArgs e )
fpSpread1.PrintMessageBox += new FarPoint.Win.Spread.PrintMessageBoxEventHandler(fpSpread1PrintMessageBox); private void fpSpread1PrintMessageBox(object sender, FarPoint.Win.Spread.PrintMessageBoxEventArgs e) { }
Dim eh As FarPoint.Win.Spread.PrintMessageBoxEventHandler = AddressOf FpSpread1PrintMessageBox AddHandler FpSpread1.PrintMessageBox, eh Private Sub FpSpread1PrintMessageBox(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.PrintMessageBoxEventArgs) Handles FpSpread1.PrintMessageBox End Sub