mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
19 lines
382 B
C
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;
|
||
|
};
|
||
|
}
|