mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
42 lines
953 B
C++
42 lines
953 B
C++
/*****************************************************************************
|
|
* Button.h *
|
|
* *
|
|
* System::Windows::Controls::Button definition file *
|
|
* Copyright (c) XFX Team. All rights reserved *
|
|
*****************************************************************************/
|
|
#ifndef _SYSTEM_WINDOWS_CONTROLS_BUTTON_
|
|
#define _SYSTEM_WINDOWS_CONTROLS_BUTTON_
|
|
|
|
#include <System/Windows/Controls/Primitives/ButtonBase.h>
|
|
|
|
using namespace System::Windows::Controls::Primitives;
|
|
|
|
namespace System
|
|
{
|
|
namespace Windows
|
|
{
|
|
namespace Controls
|
|
{
|
|
/**
|
|
* Represents a button control.
|
|
*/
|
|
class Button : public ButtonBase
|
|
{
|
|
protected:
|
|
void OnClick();
|
|
|
|
public:
|
|
Button();
|
|
~Button();
|
|
|
|
static const Type& GetType();
|
|
|
|
bool operator ==(const Button& right) const;
|
|
bool operator !=(const Button& right) const;
|
|
};
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif //_SYSTEM_WINDOWS_CONTROLS_BUTTON_
|