xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
dialog_closed_event_args.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/event_args.h>
6 
8 namespace xtd {
10  namespace forms {
17  class dialog_closed_event_args final : public event_args {
18  public:
20 
23  dialog_closed_event_args() = default;
26  explicit dialog_closed_event_args(forms::dialog_result dialog_result) : dialog_result_(dialog_result) {};
28 
30 
34  virtual forms::dialog_result dialog_result() const {return dialog_result_;}
36 
37  private:
39  };
40  }
41 }
dialog_result
Specifies identifiers to indicate the return value of a dialog box.
Definition: dialog_result.h:39
Nothing is returned from the dialog box. This means that the modal dialog continues running...
Contains xtd::event_args event args.
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: event_args.h:18
dialog_closed_event_args()=default
Initializes a new instance of the dialog_closed_event_args class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
dialog_closed_event_args(forms::dialog_result dialog_result)
Initializes a new instance of the dialog_closed_event_args class.
Definition: dialog_closed_event_args.h:26
Provides data for a dialog closed event.
Definition: dialog_closed_event_args.h:17
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
virtual forms::dialog_result dialog_result() const
Get the dialog_result contains the result when closing dialog. One of dialog_result enumerated values...
Definition: dialog_closed_event_args.h:34