48 lines
1.5 KiB
C++
48 lines
1.5 KiB
C++
//---------------------------------------------------------------------------
|
|
|
|
#ifndef SoftwaresFormUnitH
|
|
#define SoftwaresFormUnitH
|
|
//---------------------------------------------------------------------------
|
|
#include <System.Classes.hpp>
|
|
#include <Vcl.Controls.hpp>
|
|
#include <Vcl.StdCtrls.hpp>
|
|
#include <Vcl.Forms.hpp>
|
|
#include "PNGButton.hpp"
|
|
#include <Vcl.ExtCtrls.hpp>
|
|
#include <Vcl.Imaging.jpeg.hpp>
|
|
|
|
#include "QRcodePanel.h"
|
|
//---------------------------------------------------------------------------
|
|
class TSoftwaresForm : public TForm
|
|
{
|
|
__published: // IDE-managed Components
|
|
TImage *m_imgBk;
|
|
TLabel *m_lblCaption;
|
|
TPNGButton *m_btnClose;
|
|
TLabel *m_lblPro;
|
|
TLabel *m_lblAndroid;
|
|
TLabel *m_lbliOS;
|
|
TLabel *m_lbGoPro;
|
|
TLabel *m_lbGoAndroid;
|
|
TLabel *m_lbGoiOS;
|
|
void __fastcall FormCreate(TObject *Sender);
|
|
void __fastcall FormDestroy(TObject *Sender);
|
|
void __fastcall URLClick(TObject *Sender);
|
|
void __fastcall URLMouseEnter(TObject *Sender);
|
|
void __fastcall URLMouseLeave(TObject *Sender);
|
|
private: // User declarations
|
|
TQRcodePanel *m_pQRPanelAndroid, *m_pQRPaneliOS;
|
|
unsigned char *m_pQRdataAndroid, *m_pQRdataiOS;
|
|
void __fastcall WMNCHitTest(TWMNCHitTest &Msg);
|
|
|
|
BEGIN_MESSAGE_MAP
|
|
MESSAGE_HANDLER(WM_NCHITTEST, TWMNCHitTest, WMNCHitTest)
|
|
END_MESSAGE_MAP(TForm)
|
|
public: // User declarations
|
|
__fastcall TSoftwaresForm(TComponent* Owner);
|
|
};
|
|
//---------------------------------------------------------------------------
|
|
extern PACKAGE TSoftwaresForm *SoftwaresForm;
|
|
//---------------------------------------------------------------------------
|
|
#endif
|