xtd 0.2.0
close_reason.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
38 }
39}
40
42template<> struct xtd::enum_register<xtd::forms::close_reason> {
44};
std::vector< std::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.hpp:24
close_reason
Specifies the reason that a form was closed.
Definition close_reason.hpp:22
@ none
no styles.
Definition anchor_styles.hpp:21
@ application_exit_call
The Exit method of the Application class was invoked.
Definition close_reason.hpp:36
@ none
The cause of the closure was not defined or could not be determined.
Definition close_reason.hpp:24
@ windows_shut_down
The operating system is closing all applications before shutting down.
Definition close_reason.hpp:26
@ form_owner_closing
The owner form is closing.
Definition close_reason.hpp:34
@ mdi_form_closing
The parent form of this multiple document interface (MDI) form is closing.
Definition close_reason.hpp:28
@ task_manager_closing
The Microsoft Windows Task Manager is closing the application.
Definition close_reason.hpp:32
@ user_closing
The user is closing the form through the user interface (UI), for example by clicking the Close butto...
Definition close_reason.hpp:30
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition texts.hpp:219
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Provides the registration struct for enumerations.
Definition enum_register.hpp:38