public delegate void LayoutUpgradeEventHandler( object sender, LayoutUpgradeEventArgs e );
Public Delegate Sub LayoutUpgradeEventHandler( sender As Object, e As LayoutUpgradeEventArgs )
The event sender.
A LayoutUpgradeEventArgs object that contains event data.
When creating a LayoutUpgradeEventHandler delegate, you identify a method that will handle corresponding events. To associate an event with your event handler, add a delegate instance to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information on event handler delegates, see Events and Delegates in MSDN.