xtd 0.2.0
Loading...
Searching...
No Matches
dialog_closed_event_args.h
Go to the documentation of this file.
1
4#pragma once
5#include "dialog_result.h"
6#include <xtd/event_args>
7
9namespace xtd {
11 namespace forms {
22 class dialog_closed_event_args final : public event_args {
23 public:
25
33
35
39 virtual forms::dialog_result dialog_result() const noexcept {return dialog_result_;}
41
42 private:
44 };
45 }
46}
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:22
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:31
virtual forms::dialog_result dialog_result() const noexcept
Gets the dialog_result contains the result when closing dialog. One of dialog_result enumerated value...
Definition dialog_closed_event_args.h:39
dialog_closed_event_args()=default
Initializes a new instance of the dialog_closed_event_args class.
Contains xtd::forms::dialog_result enum class.
dialog_result
Specifies identifiers to indicate the return value of a dialog box.
Definition dialog_result.h:43
@ 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 xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10