2013-07-12 21:30:13 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* CancelEventArgs.h *
|
|
|
|
* *
|
|
|
|
* System::ComponentModel::CancelEventArgs definition file *
|
|
|
|
* Copyright (c) XFX Team. All rights reserved *
|
|
|
|
*****************************************************************************/
|
2013-05-05 18:18:41 +02:00
|
|
|
#ifndef _SYSTEM_COMPONENTMODEL_CANCELEVENTARGS_
|
|
|
|
#define _SYSTEM_COMPONENTMODEL_CANCELEVENTARGS_
|
|
|
|
|
|
|
|
#include <System/EventArgs.h>
|
|
|
|
|
|
|
|
namespace System
|
|
|
|
{
|
|
|
|
namespace ComponentModel
|
|
|
|
{
|
2013-07-12 21:30:13 +02:00
|
|
|
/**
|
|
|
|
* Provides data for a cancelable event.
|
|
|
|
*/
|
2013-05-05 18:18:41 +02:00
|
|
|
class CancelEventArgs : public EventArgs
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
bool Cancel;
|
|
|
|
|
|
|
|
CancelEventArgs();
|
|
|
|
CancelEventArgs(const bool value);
|
|
|
|
|
2013-07-12 21:30:13 +02:00
|
|
|
static const Type& GetType();
|
2013-05-05 18:18:41 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //_SYSTEM_COMPONENTMODEL_CANCELEVENTARGS_
|