myprint.h

来自「企业员工考勤和工资管理系统」· C头文件 代码 · 共 56 行

H
56
字号
//---------------------------------------------------------------------------

#ifndef MyPrintH
#define MyPrintH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <QuickRpt.hpp>
#include <Qrctrls.hpp>
#include <DBGrids.hpp>
#include <Grids.hpp>
//---------------------------------------------------------------------------
class TFormMyPrint : public TForm
{
__published:	// IDE-managed Components
        TQuickRep *QuickRep1;
        TQRBand *column;
        TQRBand *detail;
        TQRBand *PageFooterBand1;
        TQRBand *SummaryBand1;
        TQRBand *TitleBand1;
  TQRLabel *QRLabelTitle1;
        TQRShape *QRShapeCTop;
        TQRShape *QRShapeCLeft;
        TQRShape *QRShapeDBottom;
        TQRShape *QRShapeCBottom;
        TQRLabel *QRLabel1;
        TQRSysData *QRSysData1;
        TQRLabel *QRLabel2;
        TQRSysData *QRSysData2;
        TQRLabel *QRLabel3;
        TQRLabel *QRLabel4;
        TQRSysData *QRSysData3;
  TQRShape *QRShapeDLeft;
private:	// User declarations
        TQRLabel *Label[50];
        TQRDBText *Text[50];
        TQRShape *DLine[50];
        TQRShape *CLine[50];
public:		// User declarations
        __fastcall TFormMyPrint(TComponent* Owner);
        __fastcall ~TFormMyPrint();

        void __fastcall SetLabel(TDBGrid * pGrid,TDataSet * pDataSet);
        void __fastcall repPreview();
        void __fastcall repPrint();
        void __fastcall SetTitle(AnsiString sTitle,TPersistent *pFont);
};
//---------------------------------------------------------------------------
extern PACKAGE TFormMyPrint *FormMyPrint;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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