xtd 0.2.0
Loading...
Searching...
No Matches
close_reason.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
22 enum class close_reason {
24 none = 0,
30 user_closing = 3,
37 };
38 }
39}
40
42template<> struct xtd::enum_register<xtd::forms::close_reason> {
44};
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.h:22
close_reason
Specifies the reason that a form was closed.
Definition close_reason.h:22
@ application_exit_call
The Exit method of the Application class was invoked.
@ none
The cause of the closure was not defined or could not be determined.
@ windows_shut_down
The operating system is closing all applications before shutting down.
@ form_owner_closing
The owner form is closing.
@ mdi_form_closing
The parent form of this multiple document interface (MDI) form is closing.
@ task_manager_closing
The Microsoft Windows Task Manager is closing the application.
@ user_closing
The user is closing the form through the user interface (UI), for example by clicking the Close butto...
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:38