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

📄 supply.h

📁 科思ERP部分源码及控件
💻 H
字号:
//---------------------------------------------------------------------------
#ifndef SupplyH
#define SupplyH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "fpanel.h"
#include "RecBaseForm.h"
#include "SDGrid.h"
#include <ComCtrls.hpp>
#include <Grids.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include "SDComboBox.h"
#include "SDEdit.h"
#include "DateEdit.hpp"
#include <Mask.hpp>
#include <ExtCtrls.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmSupply ;
class TfrmSupply : public TRecBaseForm
{
__published:	// IDE-managed Components
        TPageControl *SupplyInfo;
        TTabSheet *BaseInfo;
        TFloatPanel *FloatPanel1;
        TLabel *Label1;
        TLabel *Label2;
        TLabel *Label3;
        TLabel *Label4;
        TSDEdit *seSupplyCode;
        TSDEdit *seSupplyName;
        TSDEdit *seSupplyDesc;
        TSDComboBox *scSupplyType;
        TCheckBox *chkSupplyCancel;
        TGroupBox *GroupBox1;
        TLabel *Label5;
        TLabel *Label6;
        TLabel *Label7;
        TLabel *Label8;
        TLabel *Label11;
        TLabel *Label10;
        TLabel *Label9;
        TSDEdit *seSupplyLegalMan;
        TSDEdit *seSupplyLinkMan;
        TSDEdit *seSupplyAddr;
        TSDEdit *seSupplyZip;
        TSDEdit *seSupplyTel;
        TSDEdit *seSupplyFax;
        TSDEdit *seSupplyEmail;
        TTabSheet *OtherInfo;
        TFloatPanel *FloatPanel3;
        TLabel *Label14;
        TLabel *Label13;
        TLabel *Label17;
        TLabel *Label18;
        TLabel *Label19;
        TSDComboBox *scSupplyTaxCode;
        TSDEdit *seSupplyTaxNo;
        TSDComboBox *scSupplyPmode;
        TSDComboBox *scSupplyBuyer;
        TSDEdit *seSupplyFreq;
        TTabSheet *FinaInfo;
        TLabel *Label27;
        TSDEdit *seSupplyLpAmt;
        TDateEdit *deSupplyLpDate;
        TLabel *Label26;
        TLabel *Label25;
        TSDEdit *seSupplyLtAmt;
        TDateEdit *deSupplyLtDate;
        TLabel *Label24;
        TLabel *Label22;
        TSDEdit *seSupplyApAmt;
        TFloatPanel *FloatPanel2;
        TSDEdit *seSupplyArea;
        TLabel *Label15;
        TLabel *Label16;
        TSDComboBox *scSupplyTrade;
        TLabel *Label12;
        TSDComboBox *scSupplyCredit;
        TLabel *Label23;
        TSDEdit *seSupplyCreditTerm;
        TLabel *Label20;
        TDateEdit *deSupplyCreateDate;
        TLabel *Label21;
        TDateEdit *deSupplyCancelDate;
        TPanel *Panel1;
        TTreeView *tvSupply;
        void __fastcall FormShow(TObject *Sender);
        void __fastcall tvSupplyChange(TObject *Sender, TTreeNode *Node);
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
        void __fastcall muAddDetailClick(TObject *Sender);
        void __fastcall muEditDetailClick(TObject *Sender);
        void __fastcall muDeleteDetailClick(TObject *Sender);
        void __fastcall muFirstClick(TObject *Sender);
        void __fastcall muPreviousClick(TObject *Sender);
        void __fastcall muNextClick(TObject *Sender);
        void __fastcall muLastClick(TObject *Sender);
        void __fastcall seSupplyCodeKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
        void __fastcall chkSupplyCancelClick(TObject *Sender);
        void __fastcall scSupplyTaxCodeExit(TObject *Sender);
     
private:	// User declarations

        void __fastcall ClearControl(bool BringToNext);
        void __fastcall GetDataFromComObject();
        void __fastcall SendDataToComObject();

        void __fastcall WaitUserInput();
        AnsiString __fastcall GetDataToGrid();
        void __fastcall RefreshGridData(int mAction);
        void __fastcall FillGridWithData();
        void __fastcall FillTreeWithPtype();
        void __fastcall InitEditControl();

        void __fastcall TreeViewLocation();
        void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);

public:		// User declarations
      __fastcall TfrmSupply(TComponent* Owner, HWND chWnd, AnsiString MidCode,AnsiString WhereStr);
      AnsiString FormIniFile;
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmSupply *frmSupply;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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