There are 4 events that you can handle within your Task Index Class to do various tasks. The events are as follows:
1. OnAllTasksCommandExecuted => Called when all tasks command executed.
2. OnManuallyExecutedIndividualTask => Called when manually executed individual task.
3. OnApplicationLoaded => Called when application loaded.
4. OnApplicationClosing => Called just before application closing.
The following snippet shows how to use the events within the Task Index Class. You can check the Class Library Reference for details.