unit1.h

来自「版本窗口程序 这是书本上的相关内容」· C头文件 代码 · 共 50 行

H
50
字号
//---------------------------------------------------------------------------

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ImgList.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <jpeg.hpp>
#include <Buttons.hpp>
#include <Graphics.hpp>
//---------------------------------------------------------------------------
class TMainForm : public TForm
{
__published:	// IDE-managed Components
	TImageList *ImageList1;
	TPanel *pnlLogo;
    TPanel *pnlCenter;
    TListBox *lbxMain;
    TImage *imgLogo;
    TPanel *pnlTitle;
    TPanel *pnlStatusBar;
    TSpeedButton *btnMenuClose;
    TPanel *pnlMain;
    TSpeedButton *btnMenuUpDown;
	void __fastcall lbxMainDrawItem(TWinControl *Control, int Index,
          TRect &Rect, TOwnerDrawState State);
	void __fastcall lbxMainClick(TObject *Sender);
	void __fastcall FormShow(TObject *Sender);
    void __fastcall FormDestroy(TObject *Sender);
    void __fastcall lbxMainDblClick(TObject *Sender);
    void __fastcall pnlTitleMouseDown(TObject *Sender, TMouseButton Button,
          TShiftState Shift, int X, int Y);
    void __fastcall btnMenuCloseClick(TObject *Sender);
    void __fastcall btnMenuUpDownClick(TObject *Sender);
    void __fastcall imgLogoClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
    TStringList *pStrList;
        __fastcall TMainForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TMainForm *MainForm;
//---------------------------------------------------------------------------
#endif
 

⌨️ 快捷键说明

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