sohcheck.h

来自「科思ERP部分源码及控件」· C头文件 代码 · 共 81 行

H
81
字号
//---------------------------------------------------------------------------

#ifndef SohCheckH
#define SohCheckH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "ListBaseForm.h"
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <ToolWin.hpp>
#include "DateEdit.hpp"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <Grids.hpp>
#include <Mask.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmSohCheck;
class  TfrmSohCheck : public TListBaseForm
{
__published:	// IDE-managed Components
        TToolBar *ToolBar1;
        TBitBtn *btnClear;
        TBitBtn *btnQuery;
        TBitBtn *btnCheck;
        TGroupBox *GroupBox1;
        TLabel *Label1;
        TLabel *Label2;
        TLabel *Label3;
        TLabel *Label4;
        TLabel *Label8;
        TLabel *Label9;
        TSDEdit *seSohCodeF;
        TSDEdit *seSohCodeT;
        TDateEdit *deSohDateF;
        TDateEdit *deSohDateT;
        TSDComboBox *scSohClient;
        TSDComboBox *scSohSaler;
        TBitBtn *btnQuite;
        TSDGrid *SohGrid;
        TSDGrid *SodGrid;
        TPanel *Panel1;
        TLabel *Label5;
        TPanel *Panel2;
        TLabel *Label6;
        TLabel *RecodCount;
        void __fastcall btnClearClick(TObject *Sender);
        void __fastcall btnQueryClick(TObject *Sender);
        void __fastcall SohGridClick(TObject *Sender);
        void __fastcall btnCheckClick(TObject *Sender);
        void __fastcall FormShow(TObject *Sender);
        void __fastcall btnQuiteClick(TObject *Sender);
        void __fastcall SohGridMouseMove(TObject *Sender,
          TShiftState Shift, int X, int Y);
private:	// User declarations
public:		// User declarations
      AnsiString FormIniFile;
      int MC,MR;
       __fastcall TfrmSohCheck(TComponent* Owner,HWND chWnd, AnsiString MidCode,AnsiString WhereStr);

      void __fastcall InitEditControl();
      void __fastcall ClearControl();
      void __fastcall GetDataFromComObject(int Section);
      void __fastcall SendDataToComObject(int Section);
      void __fastcall WaitUserInput(int Section);
      void __fastcall DisplayBill();
      void __fastcall GetBill(AnsiString BillID);
      void __fastcall FillDetailGridWithData();
      void __fastcall FillHeadGridWithData();
      AnsiString __fastcall GetWhereSQLString();
      void __fastcall ChangeToBrowseState(bool Browse);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmSohCheck *frmSohCheck;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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