Method RaiseClosing
RaiseClosing(EventArgs, bool)
Raises the "Closing" and "Closed" events.
void RaiseClosing(EventArgs e, bool recursive = true)
Parameters
eEventArgsAn EventArgs instance containing the event data.
recursiveboolThe bool value indicating whether the closing event should be raised for child items.
Remarks
This method is typically called to notify subscribers that the associated object is closing. Ensure that any necessary cleanup or finalization is performed before invoking this method.