Click or drag to resize

EventExtensionMethodsRaiseEvent Method (EventHandler, Object)

Raises the event on the handler passed in with default empty arguments

Namespace:  SD.Tools.BCLExtensions.SystemRelated
Assembly:  SD.Tools.BCLExtensions (in SD.Tools.BCLExtensions.dll) Version: 1.2.0
Syntax
public static void RaiseEvent(
	this EventHandler handler,
	Object sender
)

Parameters

handler
Type: SystemEventHandler
The handler.
sender
Type: SystemObject
The sender.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type EventHandler. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also