xtd 0.2.0
Loading...
Searching...
No Matches
dialog_result.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace 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
67};
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
dialog_result
Specifies identifiers to indicate the return value of a dialog box.
Definition dialog_result.h:43
@ cancel
The dialog box return value is Cancel (usually sent from a button labeled Cancel).
@ retry
The dialog box return value is Retry (usually sent from a button labeled Retry).
@ none
Nothing is returned from the dialog box. This means that the modal dialog continues running.
@ ok
The dialog box return value is OK (usually sent from a button labeled OK).
@ ignore
The dialog box return value is Ignore (usually sent from a button labeled Ignore).
@ abort
The dialog box return value is Abort (usually sent from a button labeled Abort).
@ no
The dialog box return value is No (usually sent from a button labeled No).
@ yes
The dialog box return value is Yes (usually sent from a button labeled Yes).
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