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

Provides data for the do_work event handler. More...

#include <do_work_event_args.h>

Inheritance diagram for xtd::forms::do_work_event_args:
xtd::event_args

Public Member Functions

 do_work_event_args (const std::any &argument)
 Initializes a new instance of the DoWorkEventArgs class. More...
 
std::any argument () const
 Gets a value that represents the argument of an asynchronous operation. More...
 
bool cancel () const
 
void cancel (bool value)
 
std::any result () const
 
void result (std::any value)
 

Static Public Attributes

static const event_args empty
 Provides a value to use with events that do not have event data. More...
 

Detailed Description

Provides data for the do_work event handler.


The documentation for this class was generated from the following file: