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 {
41 enum class dialog_result {
43 none = 0,
45 ok = 1,
47 cancel = 2,
49 abort = 3,
51 retry = 4,
53 ignore = 5,
55 yes = 6,
57 no = 7
58 };
59 }
60}
61
65};
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.h:19
dialog_result
Specifies identifiers to indicate the return value of a dialog box.
Definition dialog_result.h:41
@ 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:36