xtd - Reference Guide 0.2.0
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/event_args.h>
6 #include "dialog_result.h"
9 namespace xtd {
11  namespace forms {
18  class dialog_closed_event_args final : public event_args {
19  public:
24  dialog_closed_event_args() = default;
27  explicit dialog_closed_event_args(forms::dialog_result dialog_result) : dialog_result_(dialog_result) {};
35  virtual forms::dialog_result dialog_result() const {return dialog_result_;}
38  private:
40  };
41  }
42 }
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
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:27
Contains xtd::forms::dialog_result enum class.
Provides data for a dialog closed event.
Definition: dialog_closed_event_args.h:18
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
Gets the dialog_result contains the result when closing dialog. One of dialog_result enumerated value...
Definition: dialog_closed_event_args.h:35