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

📄 gmth_r.h

📁 速达开源ERP系统
💻 H
字号:
//---------------------------------------------------------------------------
#ifndef Gmth_RH
#define Gmth_RH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "DateEdit.hpp"
#include "fpanel.h"
#include "GenBaseForm.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <ComCtrls.hpp>
#include <Dialogs.hpp>
#include <Grids.hpp>
#include <ImgList.hpp>
#include <Mask.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include <ExtCtrls.hpp>

class PACKAGE TfrmGmth_R;
//---------------------------------------------------------------------------
class TfrmGmth_R : public TGenBaseForm
{
__published:	// IDE-managed Components
   TSDGrid *sgGmth;
   TPanel *PnlGmth;
   TLabel *Label1;
   TSDEdit *seGmthCode;
   TDateEdit *deGmthDate;
   TLabel *Label9;
   TLabel *Label4;
   TSDComboBox *scGmthFmonth;
   TLabel *Label2;
   TSDComboBox *scGmthPosType;
   TSDComboBox *scGmthType;
   TLabel *Label10;
   TLabel *Label26;
   TSDEdit *seGmthWo;
   TMemo *memGmthDesc;
   TLabel *Label8;
   TPanel *PnlGmtd;
   TLabel *labUser;
   TLabel *Label14;
   TLabel *labChecker;
   TLabel *Label3;
   TLabel *labCheckDate;
   TLabel *Label24;
   TCheckBox *chkGmthCheck;
   TLabel *Label6;
   TLabel *Label5;
    void __fastcall FormShow(TObject *Sender);
    void __fastcall sgGmthClick(TObject *Sender);
    void __fastcall sgGmthDblClick(TObject *Sender);
    void __fastcall sgGmthSelectCell(TObject *Sender, int ACol, int ARow,
           bool &CanSelect);
    void __fastcall seGmthCodeKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
    void __fastcall seGmthWoButtonClick(TObject *Sender);
private:	// User declarations
    int FCurRow;
    AnsiString __fastcall GetDataToGrid();
    AnsiString __fastcall GetDetailValue(int FieldIndex);
    AnsiString __fastcall GetHeadValue(int Index);
    void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
    void __fastcall SetHeadValue(int Index ,AnsiString Value);
    void __fastcall SetDetailValue(int Index, AnsiString Value);
    void __fastcall GenrateBill();
    void __fastcall InitEditControl();
    void __fastcall EditBill();
    void __fastcall SendAllDetailValue();
    void __fastcall ClearControl(int Section,bool BringToNext);
    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=true);

public:		// User declarations
    long ComErrNum;
    AnsiString FormIniFile;
    __fastcall TfrmGmth_R(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmGmth_R *frmGmth_R;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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