unit1.h

来自「<<C++Builder 6实用编程100例>>随书光盘」· C头文件 代码 · 共 41 行

H
41
字号
//---------------------------------------------------------------------------

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <Dialogs.hpp>
#include <Menus.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
        TRichEdit *RichEdit1;
        TOpenDialog *OpenDialog1;
        TFontDialog *FontDialog1;
        TColorDialog *ColorDialog1;
        TMainMenu *MainMenu1;
        TMenuItem *File;
        TMenuItem *Open;
        TMenuItem *Exit;
        TMenuItem *Edit;
        TMenuItem *FontSetup;
        TMenuItem *BackColor;
        void __fastcall OpenClick(TObject *Sender);
        void __fastcall ExitClick(TObject *Sender);
        void __fastcall FontSetupClick(TObject *Sender);
        void __fastcall FontDialog1Apply(TObject *Sender, HWND Wnd);
        void __fastcall BackColorClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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