43 lines
1.5 KiB
MQL5
43 lines
1.5 KiB
MQL5
|
//+------------------------------------------------------------------+
|
||
|
//| TestGUI.mqh |
|
||
|
//| Thorsten Fischer Copyright 2019 |
|
||
|
//| https://www.tfsystem.de |
|
||
|
//+------------------------------------------------------------------+
|
||
|
#property copyright "Thorsten Fischer Copyright 2019"
|
||
|
#property link "https://www.tfsystem.de"
|
||
|
#property version "1.00"
|
||
|
#property strict
|
||
|
#include <TF-Class\TFObject.mqh>
|
||
|
#include <TF-Class\TFFrame.mqh>
|
||
|
class CTestGUI : public CTFObject
|
||
|
{
|
||
|
private:
|
||
|
CTFFrame m_Frame;
|
||
|
public:
|
||
|
CTestGUI();
|
||
|
~CTestGUI();
|
||
|
virtual bool Create(void);
|
||
|
virtual void Destroy(const int aReason=0);
|
||
|
};
|
||
|
CTestGUI::CTestGUI()
|
||
|
{
|
||
|
}
|
||
|
CTestGUI::~CTestGUI()
|
||
|
{
|
||
|
}
|
||
|
//+------------------------------------------------------------------+
|
||
|
//| |
|
||
|
//+------------------------------------------------------------------+
|
||
|
bool CTestGUI::Create(void)
|
||
|
{
|
||
|
return(m_Frame.Create());
|
||
|
}
|
||
|
//+------------------------------------------------------------------+
|
||
|
//| |
|
||
|
//+------------------------------------------------------------------+
|
||
|
void CTestGUI::Destroy(const int aReason=0)
|
||
|
{
|
||
|
m_Frame.Destroy(aReason);
|
||
|
}
|
||
|
//+------------------------------------------------------------------+
|