pohcheck.h

来自「一个以前收集的基于C/S架构的ERP客户端源代码」· C头文件 代码 · 共 75 行

H
75
字号
//---------------------------------------------------------------------------

#ifndef PohCheckH
#define PohCheckH
//---------------------------------------------------------------------------
#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>
#include <Menus.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmPohCheck ;
class TfrmPohCheck : 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 *sePohCodeF;
    TSDEdit *sePohCodeT;
    TDateEdit *dePohDateF;
    TDateEdit *dePohDateT;
    TSDComboBox *scPohSupplyCode;
    TSDComboBox *scPohBuyerCode;
    TSDGrid *sgPohCheck;
    TSDGrid *sgPodCheck;
    TMainMenu *MainMenu1;
    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 sgPohCheckDblClick(TObject *Sender);
    void __fastcall sgPohCheckClick(TObject *Sender);
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
    void __fastcall HavingRight();
    __fastcall TfrmPohCheck(TComponent* Owner, HWND chWnd, AnsiString MidCode,AnsiString WhereStr);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmPohCheck *frmPohCheck;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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