r5sdk/r5dev/thirdparty/cppnet/cppkore/FormClosingEventArgs.h
2022-05-21 19:58:09 +02:00

19 lines
382 B
C++

#pragma once
#include <cstdint>
#include "CancelEventArgs.h"
#include "CloseReason.h"
namespace Forms
{
// Provides data for the on closing event.
class FormClosingEventArgs : public CancelEventArgs
{
public:
FormClosingEventArgs(CloseReason Reason, bool Cancel);
~FormClosingEventArgs() = default;
// Provides the reason for the form close.
CloseReason Reason;
};
}