Spread Windows Forms 6.0 Product Documentation
PrintMessageBoxEventHandler Delegate
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : PrintMessageBoxEventHandler Delegate


sender
Source of the event
e
Event data

Glossary Item Box

Represents a defined method that handles the PrintMessageBox event for the Spread component.

Syntax

Visual Basic (Declaration) 
Public Delegate Sub PrintMessageBoxEventHandler( _
   ByVal sender As Object, _
   ByVal e As PrintMessageBoxEventArgs _
) 
Visual Basic (Usage)Copy Code
Dim instance As New PrintMessageBoxEventHandler(AddressOf HandlerMethod)
C# 
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.
C#Copy Code
fpSpread1.PrintMessageBox += new FarPoint.Win.Spread.PrintMessageBoxEventHandler(fpSpread1PrintMessageBox);

private void fpSpread1PrintMessageBox(object sender, FarPoint.Win.Spread.PrintMessageBoxEventArgs e)
{

}
Visual BasicCopy Code
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.