⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cale.h

📁 速达开源ERP系统
💻 H
字号:
//---------------------------------------------------------------------------

#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -