2013-07-12 21:30:13 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* Button.h *
|
|
|
|
* *
|
|
|
|
* System::Windows::Controls::Button definition file *
|
|
|
|
* Copyright (c) XFX Team. All rights reserved *
|
|
|
|
*****************************************************************************/
|
|
|
|
#ifndef _SYSTEM_WINDOWS_CONTROLS_CONTROL_
|
|
|
|
#define _SYSTEM_WINDOWS_CONTROLS_CONTROL_
|
2013-05-05 18:18:41 +02:00
|
|
|
|
|
|
|
#include <System/Windows/Controls/Primitives/ButtonBase.h>
|
|
|
|
|
|
|
|
using namespace System::Windows::Controls::Primitives;
|
|
|
|
|
|
|
|
namespace System
|
|
|
|
{
|
|
|
|
namespace Windows
|
|
|
|
{
|
|
|
|
namespace Controls
|
|
|
|
{
|
2013-07-12 21:30:13 +02:00
|
|
|
/**
|
|
|
|
* Represents a button control.
|
|
|
|
*/
|
2013-05-05 18:18:41 +02:00
|
|
|
class Button : public ButtonBase
|
|
|
|
{
|
|
|
|
protected:
|
|
|
|
void OnClick();
|
|
|
|
|
|
|
|
public:
|
|
|
|
Button();
|
|
|
|
~Button();
|
|
|
|
|
2013-07-12 21:30:13 +02:00
|
|
|
static const Type& GetType();
|
2013-05-05 18:18:41 +02:00
|
|
|
|
|
|
|
bool operator ==(const Button& right) const;
|
|
|
|
bool operator !=(const Button& right) const;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-07-12 21:30:13 +02:00
|
|
|
|
|
|
|
#endif //_SYSTEM_WINDOWS_CONTROLS_CONTROL_
|