Spread Windows Forms 8.0 Product Documentation
PrintMessageBoxEventHandler Delegate
ExampleExample 


Source of the event
Event data
Represents a defined method that handles the PrintMessageBox event for the Spread component.
Syntax
'Declaration
 
Public Delegate Sub PrintMessageBoxEventHandler( _
   ByVal sender As Object, _
   ByVal e As PrintMessageBoxEventArgs _
) 
'Usage
 
Dim instance As New PrintMessageBoxEventHandler(AddressOf HandlerMethod)
public delegate void PrintMessageBoxEventHandler( 
   object sender,
   PrintMessageBoxEventArgs e
)

Parameters

sender
Source of the event
e
Event data
Remarks
For information on the event, refer to the FpSpread PrintMessageBox event.
Example
This example creates the PrintMessageBox event.
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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

PrintMessageBoxEventHandler Members
FarPoint.Win.Spread Namespace
PrintMessageBoxEventArgs Class
PrintMessageBox Event

 

 


Copyright © GrapeCity, inc. All rights reserved.