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

📄 scraphcheck.h

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

#ifndef ScraphCheckH
#define ScraphCheckH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "DateEdit.hpp"
#include "ListBaseForm.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <Grids.hpp>
#include <Mask.hpp>
#include <ToolWin.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmScraphCheck ;
class TfrmScraphCheck : public TListBaseForm
{
__published:	// IDE-managed Components
    TToolBar *ToolBar1;
    TBitBtn *btnClear;
    TBitBtn *btnQuery;
    TBitBtn *btnCheck;
    TBitBtn *BitExit;
    TGroupBox *GroupBox1;
    TLabel *Label1;
    TLabel *Label2;
    TLabel *Label3;
    TLabel *Label4;
    TLabel *Label8;
    TLabel *Label9;
        TSDEdit *seScraphCodeF;
        TSDEdit *seScraphCodeT;
        TDateEdit *deScraphDateF;
        TDateEdit *deScraphDateT;
        TSDComboBox *scScraphKeeper;
        TSDComboBox *scScraphUser;
        TSDGrid *sgScraphCheck;
        TSDGrid *sgScrapdCheck;
    void __fastcall btnClearClick(TObject *Sender);
    void __fastcall btnQueryClick(TObject *Sender);
    void __fastcall FormShow(TObject *Sender);
    void __fastcall BitExitClick(TObject *Sender);
    void __fastcall btnCheckClick(TObject *Sender);
        void __fastcall sgScraphCheckDblClick(TObject *Sender);
        void __fastcall sgScraphCheckSelectCell(TObject *Sender, int ACol,
          int ARow, bool &CanSelect);
private:	// User declarations
    AnsiString WhereStr;
    void __fastcall GetWhereStrToSQL();
    void __fastcall InitEditControl();
    void __fastcall FillHeadObjToGrid();
    void __fastcall AddDetailObjToGrid(AnsiString s_Code);
    void __fastcall DelDetailObjFromGrid(AnsiString s_Code);
    void __fastcall ChangeToBrowseState(bool agree);
      void __fastcall GetDataFromComObject(int Section){};
      void __fastcall SendDataToComObject(int Section){};
      void __fastcall WaitUserInput(int Section){};
      void __fastcall DisplayBill(){};
      void __fastcall GetBill(AnsiString BillID){};

public:		// User declarations
    AnsiString __fastcall GetDetailValue(int FieldIndex);
    AnsiString __fastcall GetHeadValue(int Index);
    void __fastcall HavingRight();
    __fastcall TfrmScraphCheck(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmScraphCheck *frmScraphCheck;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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