6#include <xtd/any_object>
Represent a polymorphic wrapper capable of holding any type.
Definition any_object.hpp:29
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.hpp:18
Represents an event.
Definition event.hpp:23
virtual auto exit_thread_core() -> void
Terminates the message loop of the thread.
event< application_context, event_handler > thread_exit
Occurs when the message loop of the thread should be terminated, by calling exit_thread().
Definition application_context.hpp:96
application_context()
Initializes a new instance of the application_context class with no context.
auto tag() const noexcept -> xtd::any_object
Gets an object that contains data about the control.
application_context(const form &main_form) noexcept
Initializes a new instance of the application_context class with the specified Form.
auto main_form() const noexcept -> std::optional< const_form_ref >
Gets the form to use as context.
virtual auto on_main_form_closed(object &sender, const event_args &e) -> void
Calls ExitThreadCore(), which raises the ThreadExit event.
auto exit_thread() -> void
Terminates the message loop of the thread.
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:45
generic_event_handler< const xtd::event_args & > event_handler
Represents the method that will handle an event that has no event data.
Definition event_handler.hpp:24
xtd::shared_ptr_object< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.hpp:25
std::optional< type_t > optional
Represents the optional alias on std::optional.
Definition optional.hpp:26
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
constexpr auto data() const noexcept -> const_pointer
Gets direct access to the underlying contiguous storage.
Definition read_only_span.hpp:197