xtd 0.2.0
Loading...
Searching...
No Matches
form_closed_event_args.h
Go to the documentation of this file.
1
4#pragma once
5#include "close_reason.h"
6#include <xtd/event_args>
7
9namespace xtd {
11 namespace forms {
23 public:
25
33
38
40
45 forms::close_reason close_reason() const noexcept {return close_reason_;}
47
48 private:
50 };
51 }
52}
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 the form_closed event.
Definition form_closed_event_args.h:22
form_closed_event_args()=default
Initializes a new instance of the form_closed_event_args class.
forms::close_reason close_reason() const noexcept
Gets a value that indicates why the form was closed.
Definition form_closed_event_args.h:45
form_closed_event_args(forms::close_reason close_reason)
Initializes a new instance of the form_closed_event_args class.
Definition form_closed_event_args.h:31
Contains xtd::forms::close_reason enum class.
close_reason
Specifies the reason that a form was closed.
Definition close_reason.h:22
@ none
The cause of the closure was not defined or could not be determined.
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