xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.

§ run_worker_completed_event_handler

template<typename type_t >
using xtd::forms::run_worker_completed_event_handler = typedef delegate<void(type_t sender, const run_worker_completed_event_args& e)>

Represents the method that will handle the do_work event. This class cannot be inherited.

Parameters
senderThe source of the event.
eA do_work_event_args that contains the event data.
Remarks
When you create a do_work_event_handler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event-handler method is called whenever the event occurs, unless you remove the delegate