cale.h

来自「速达开源ERP系统」· C头文件 代码 · 共 76 行

H
76
字号
//---------------------------------------------------------------------------

#ifndef CaleH
#define CaleH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "DateEdit.hpp"
#include "fpanel.h"
#include "RecBaseForm.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <ComCtrls.hpp>
#include <Grids.hpp>
#include <ImgList.hpp>
#include <Mask.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include <ExtCtrls.hpp>
#include <Dialogs.hpp>
class PACKAGE TfrmCale;
//---------------------------------------------------------------------------
class TfrmCale : public TRecBaseForm
{
__published:	// IDE-managed Components

    TFloatPanel *FloatPanel1;
    TSDGrid *sgCale;
    TLabel *Label1;
    TLabel *Label2;
    TLabel *Label4;
    TLabel *Label5;
    TLabel *Label6;
    TSDEdit *seCaleFacDate;
    TSDEdit *seCaleWeek;
    TSDEdit *seCaleYear;
    TSDEdit *seCaleMonth;
    TSDComboBox *scCaleStatus;
    TSDEdit *seCaleSocDate;
    TLabel *Label7;
    TFloatPanel *FloatPanel2;
    TLabel *Label3;
    TSDComboBox *cbYearMonth;
    void __fastcall FormShow(TObject *Sender);
    void __fastcall cbYearMonthChange(TObject *Sender);
    void __fastcall muAddDetailClick(TObject *Sender);
    void __fastcall sgCaleClick(TObject *Sender);
private:
    AnsiString __fastcall GetLastday();
    AnsiString __fastcall GetDataToGrid();
    AnsiString __fastcall GetCaleBeginDate();
    AnsiString __fastcall GetFieldValue(int FieldIndex);
    void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
    void __fastcall SetFieldValue(int iFieldIndex,AnsiString sFieldValue);
    void __fastcall ClearControl(bool BringToNext);
    void __fastcall GetDataFromComObject();
    void __fastcall SendDataToComObject();
    void __fastcall WaitUserInput();
    void __fastcall RefreshGridData(int mAction);
    void __fastcall FillGridWithData();
    void __fastcall InitEditControl();

public:		// User declarations
    int __fastcall GetLastFacDate(AnsiString LastDay);
    __fastcall TfrmCale(TComponent* Owner);
    __property AnsiString Lastday  = { read=GetLastday };

};
//---------------------------------------------------------------------------
extern PACKAGE TfrmCale *frmCale;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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