xtd - Reference Guide  0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
dialog_closed_event_args.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/event_args.h>
6
8namespace xtd {
10 namespace forms {
17 class dialog_closed_event_args final : public event_args {
18 public:
24
27 virtual forms::dialog_result dialog_result() const {return dialog_result_;}
28
29 private:
31 };
32 }
33}
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.h:18
Provides data for a dialog closed event.
Definition dialog_closed_event_args.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:23
dialog_closed_event_args()=default
Initializes a new instance of the dialog_closed_event_args class.
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:27
Contains xtd::event_args event args.
dialog_result
Specifies identifiers to indicate the return value of a dialog box.
Definition dialog_result.h:39
@ none
Nothing is returned from the dialog box. This means that the modal dialog continues running.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition about_box.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17