5 #include "../forms_export.h" 53 bool cancellation_pending()
const noexcept;
57 bool is_busy()
const noexcept;
62 bool worker_reports_progress()
const noexcept;
66 void worker_reports_progress(
bool value);
71 bool worker_supports_cancellation()
const noexcept;
75 void worker_supports_cancellation(
bool value);
100 void run_worker_async();
105 template<
typename argument_t>
113 void report_progress(
int32 percent_progress);
118 void report_progress(
int32 percent_progress,
std::any user_state);
138 void argument_(
std::any&& argument);
140 std::shared_ptr<data> data_;
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Contains xtd::forms::progress_changed_event_handler event handler.
Represents an event.
Definition: event.h:21
Indicates that all styles except allow_binary_specifier, allow_octal_specifier and allow_hex_specifie...
int_least32_t int32
Represents a 32-bit signed integer.
Definition: types.h:129
Contains xtd::forms::component class.
Contains xtd::forms::run_worker_completed_event_handler event handler.
Contains xtd::forms::do_work_event_handler event handler.