?? unit1.h
字號:
//---------------------------------------------------------------------------
#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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -