Shows how to create an application with xtd::forms::application::application_exit event.
- Windows
-
- macOS
-
- Gnome
-
#define TRACE
#include <xtd/diagnostics/trace>
#include <xtd/forms/application>
#include <xtd/environment>
auto main() -> int {
}
static void write_line()
Writes a line terminator to the trace listeners in the listeners collection.
Definition trace.hpp:343
static event< environment, program_exit_event_handler > program_exit
Occurs when the terminates normally (via xtd::environment::exit or returning from the main function).
Definition environment.hpp:535
The xtd::diagnostics namespace provides classes that allow you to interact with system processes,...
Definition assert_dialog_result.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8