mpsd.h

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

H
70
字号
//---------------------------------------------------------------------------

#ifndef MpsdH
#define MpsdH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "DateEdit.hpp"
#include "fpanel.h"
#include "ListBaseForm.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <Buttons.hpp>
#include <Grids.hpp>
#include <Mask.hpp>
#include <ComCtrls.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmMpsd;
class  TfrmMpsd : public TListBaseForm
{
__published:	// IDE-managed Components
        TFloatPanel *FloatPanel1;
        TBitBtn *BitBtn1;
        TSDGrid *sgMpsd;
        TLabel *Label1;
        TSDEdit *seMpsGoods;
        TLabel *Label2;
        TSDEdit *seMpsRQty;
        TLabel *Label3;
        TSDEdit *seMpsRDate;
      void __fastcall FormShow(TObject *Sender);
      void __fastcall btnOKClick(TObject *Sender);
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
private:	// User declarations
      void __fastcall SetHeadValue(int Index ,AnsiString Value);
      void __fastcall SetDetailValue(int Index, AnsiString Value);
        AnsiString FMpsGoods;
        AnsiString FMpsRDate;
        void __fastcall SetMpsGoods(AnsiString value);
        AnsiString __fastcall GetMpsGoods();
        void __fastcall SetMpsRDate(AnsiString value);
        AnsiString __fastcall GetMpsRDate();

public:		// User declarations
      AnsiString FormIniFile;
      AnsiString __fastcall GetDetailValue(int FieldIndex);
      AnsiString __fastcall GetHeadValue(int Index);
       __fastcall TfrmMpsd(TComponent* Owner);

      void __fastcall InitEditControl();
      void __fastcall ClearControl();
      void __fastcall GetDataFromComObject(int Section);
      void __fastcall SendDataToComObject(int Section);
      void __fastcall WaitUserInput(int Section);
      void __fastcall RefreshGridData(int mAction);
      void __fastcall DisplayBill();
      void __fastcall GetBill(AnsiString BillID);
      void __fastcall FillGridWithData();
      void __fastcall ChangeToBrowseState(bool Browse);
        __property AnsiString MpsGoods  = { read=GetMpsGoods, write=SetMpsGoods };
        __property AnsiString MpsRDate  = { read=GetMpsRDate, write=SetMpsRDate };

};
//---------------------------------------------------------------------------
extern PACKAGE TfrmMpsd *frmMpsd;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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