xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
dialog_result.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
forms
{
43
enum class
dialog_result
{
45
none
= 0,
47
ok
= 1,
49
cancel
= 2,
51
abort
= 3,
53
retry
= 4,
55
ignore
= 5,
57
yes
= 6,
59
no
= 7
60
};
61
}
62
}
63
65
template
<>
struct
xtd::enum_register
<
xtd
::
forms::dialog_result
> {
66
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::forms::dialog_result>
{{
xtd::forms::dialog_result::none
,
"none"
}, {
xtd::forms::dialog_result::ok
,
"ok"
}, {
xtd::forms::dialog_result::cancel
,
"cancel"
}, {
xtd::forms::dialog_result::abort
,
"abort"
}, {
xtd::forms::dialog_result::retry
,
"retry"
}, {
xtd::forms::dialog_result::ignore
,
"ignore"
}, {
xtd::forms::dialog_result::yes
,
"yes"
}, {
xtd::forms::dialog_result::no
,
"no"
}};}
67
};
xtd::enum_collection
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
xtd::forms::dialog_result
dialog_result
Specifies identifiers to indicate the return value of a dialog box.
Definition
dialog_result.hpp:43
xtd::forms::dialog_result::cancel
@ cancel
The dialog box return value is Cancel (usually sent from a button labeled Cancel).
Definition
dialog_result.hpp:49
xtd::forms::dialog_result::retry
@ retry
The dialog box return value is Retry (usually sent from a button labeled Retry).
Definition
dialog_result.hpp:53
xtd::forms::dialog_result::none
@ none
Nothing is returned from the dialog box. This means that the modal dialog continues running.
Definition
dialog_result.hpp:45
xtd::forms::dialog_result::ok
@ ok
The dialog box return value is OK (usually sent from a button labeled OK).
Definition
dialog_result.hpp:47
xtd::forms::dialog_result::ignore
@ ignore
The dialog box return value is Ignore (usually sent from a button labeled Ignore).
Definition
dialog_result.hpp:55
xtd::forms::dialog_result::abort
@ abort
The dialog box return value is Abort (usually sent from a button labeled Abort).
Definition
dialog_result.hpp:51
xtd::forms::dialog_result::no
@ no
The dialog box return value is No (usually sent from a button labeled No).
Definition
dialog_result.hpp:59
xtd::forms::dialog_result::yes
@ yes
The dialog box return value is Yes (usually sent from a button labeled Yes).
Definition
dialog_result.hpp:57
xtd::forms::anchor_styles::none
@ none
no styles.
Definition
anchor_styles.hpp:21
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.