unit1.h

来自「有视频」· C头文件 代码 · 共 42 行

H
42
字号
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <DB.hpp>
#include <Db.hpp>
#include <DBGrids.hpp>
#include <DBTables.hpp>
#include <Grids.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
        TButton *Button1;
        TQuery *Query1;
        TDataSource *DataSource1;
        TDBGrid *DBGrid1;
        TButton *Button2;
        TOpenDialog *OpenDialog1;
        TEdit *Edit1;
        void __fastcall Button1Click(TObject *Sender);
        void __fastcall Button2Click(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TForm1(TComponent* Owner);
        void __fastcall PaintText(TCanvas *cv,int xx,int yy,int ww,int hh,int indent,TAlignment al,AnsiString text);
        AnsiString __fastcall GetFieldValue(TDataSet *Dset,AnsiString name);
        int __fastcall PrintTableTitle(TDBGrid *DGrid,TCanvas *cv,int x1,int y1);
        int __fastcall PrintTableItem(TDBGrid *DGrid,TCanvas *cv,int x1,int y1);
        int __fastcall ToSz(int nn);
        int PrnDpi,TabLeft,TabTop;
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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