xtd 0.2.0
message_dialog_buttons.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum>
6 
8 namespace xtd {
10  namespace forms {
22  ok = 0,
24  ok_cancel = 1,
28  yes_no_cancel = 3,
30  yes_no = 4,
32  retry_cancel = 5
33  };
34  }
35 }
36 
38 template<> struct xtd::enum_register<xtd::forms::message_dialog_buttons> {
40 };
The message box contains OK and Cancel buttons.
&brief The message box contains Abort, Retry, and Ignore buttons
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
message_dialog_buttons
Specifies constants defining which buttons to display on a message_box.
Definition: message_dialog_buttons.h:20
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
The message box contains an OK button.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
The message box contains Yes, No, and Cancel buttons.
The message box contains Yes and No buttons.
The message box contains Retry and Cancel buttons.
Provides the registration struct for enumerations.
Definition: enum_register.h:36