polygonwin.h

来自「C++Builder程序员编程手记《配书光盘》」· C头文件 代码 · 共 29 行

H
29
字号
//---------------------------------------------------------------------------

#ifndef PolygonWinH
#define PolygonWinH
#define pai 3.14159265358
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <math.h>
//---------------------------------------------------------------------------
class Tpolygon : public TForm
{
__published:	// IDE-managed Components
        void __fastcall FormShow(TObject *Sender);
        void __fastcall FormResize(TObject *Sender);
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
        void __fastcall FormClick(TObject *Sender);
private:
        void SetPolygonWin(HWND Window);	// User declarations
public:		// User declarations
        __fastcall Tpolygon(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE Tpolygon *polygon;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?