sreth.h
来自「一个以前收集的基于C/S架构的ERP客户端源代码」· C头文件 代码 · 共 201 行
H
201 行
//---------------------------------------------------------------------------
#ifndef SrethH
#define SrethH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "GenBaseForm.h"
#include "DateEdit.hpp"
#include "fpanel.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <Grids.hpp>
#include <ImgList.hpp>
#include <Mask.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmSreth;
class TfrmSreth : public TGenBaseForm
{
__published: // IDE-managed Components
TFloatPanel *FloatPanel1;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TLabel *Label4;
TLabel *Label6;
TLabel *Label7;
TLabel *Label8;
TLabel *Label9;
TLabel *Label15;
TLabel *Label43;
TLabel *Label42;
TLabel *Label10;
TLabel *Label22;
TLabel *Label5;
TLabel *Label11;
TLabel *Label13;
TSDEdit *seSrethCode;
TDateEdit *deSrethDate;
TSDComboBox *scSrethTaxCode;
TSDComboBox *scSrethSettleMode;
TMemo *memSrethDesc;
TSDComboBox *scSrethType;
TSDComboBox *scSrethTransMode;
TSDEdit *seSrethEnrate;
TSDComboBox *scSrethDeliver;
TSDComboBox *scSrethFmonth;
TSDComboBox *scSrethPosType;
TSDComboBox *scSrethRr;
TSDGrid *sgSretd;
TFloatPanel *FloatPanel2;
TGroupBox *GroupBox2;
TLabel *Label24;
TLabel *Label25;
TLabel *Label30;
TLabel *Label31;
TLabel *Label26;
TLabel *Label19;
TLabel *Label23;
TSDEdit *seSretdConv;
TSDEdit *seSretdLine;
TSDEdit *seSretdGoodsName;
TSDEdit *seSretdQty;
TBitBtn *btnOK;
TBitBtn *btnCancel;
TGroupBox *GroupBox4;
TLabel *Label33;
TSDComboBox *scSretdState;
TGroupBox *GroupBox5;
TLabel *Label36;
TLabel *Label39;
TMemo *memSretdDesc;
TFloatPanel *FloatPanel3;
TLabel *Label17;
TCheckBox *cheSrethCheck;
TCheckBox *cheSrethCancel;
TLabel *Label14;
TSDEdit *seSretdGoods;
TLabel *lbSrethSysDate;
TLabel *Label16;
TCheckBox *cheSretdClose;
TCheckBox *cheSrethClose;
TLabel *Label12;
TSDEdit *seSretdCloseDate;
TLabel *Label18;
TSDComboBox *scSrethSaler;
TSDEdit *seSrethClient;
TSDEdit *seSrethCurrency;
TSDEdit *seSrethSsite;
TSDEdit *seSretdSogCode;
TSDEdit *seSretdSogdLine;
TLabel *Label20;
TLabel *Label21;
TLabel *Label27;
TSDEdit *seSretdUnit;
TSDEdit *seSretdPrice;
TSDEdit *seSretdAmt;
TSDEdit *seSretdTaxAmt;
TLabel *Label28;
TSDEdit *seSretdLoc;
TLabel *Label34;
TSDEdit *seSretdExes;
TLabel *Label29;
TLabel *Label32;
TLabel *Label35;
TSDEdit *seSretdOQty;
TSDEdit *seSretdFQty;
TSDEdit *seSretdEQty;
TSDEdit *seSretdBatch;
TSDEdit *seSrethChecker;
TSDEdit *seSrethUser;
TSDEdit *seSretdGoodsSpec;
void __fastcall FormShow(TObject *Sender);
void __fastcall sgSretdDblClick(TObject *Sender);
void __fastcall btnOKClick(TObject *Sender);
void __fastcall btnCancelClick(TObject *Sender);
void __fastcall seSrethCodeKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall seSrethCurrencyButtonClick(TObject *Sender);
void __fastcall seSrethSsiteButtonClick(TObject *Sender);
void __fastcall seSretdSogCodeButtonClick(TObject *Sender);
void __fastcall scSrethTypeClick(TObject *Sender);
void __fastcall seSretdGoodsButtonClick(TObject *Sender);
void __fastcall seSretdUnitButtonClick(TObject *Sender);
void __fastcall seSretdLocButtonClick(TObject *Sender);
void __fastcall seSretdQtyButtonClick(TObject *Sender);
void __fastcall seSretdQtyExit(TObject *Sender);
void __fastcall seSretdPriceExit(TObject *Sender);
void __fastcall seSretdBatchButtonClick(TObject *Sender);
void __fastcall seSretdGoodsExit(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall sgSretdClick(TObject *Sender);
void __fastcall seSrethClientButtonClick(TObject *Sender);
void __fastcall seSrethClientExit(TObject *Sender);
void __fastcall scSrethTypeKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall scSrethPosTypeKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall seSrethCurrencyKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall scSrethTaxCodeKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall scSrethSettleModeKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall seSrethSsiteKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall scSrethDeliverKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall scSrethTransModeKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall scSrethRrKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall scSrethSalerKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall seSretdUnitKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall seSretdLocKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall seSretdBatchKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
private: // User declarations
void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
bool __fastcall SetGoods(TGetValueType GetValueType, AnsiString GoodsCode, int ShowURight=1);
bool __fastcall SetClients(TGetValueType GetValueType, AnsiString ClientsCode);
void __fastcall CalculateAmt();
void __fastcall DynamicSetControlState();
bool __fastcall BeforeCheck();
bool __fastcall BeforeUnCheck();
bool __fastcall BeforeCloseBill();
bool __fastcall BeforeUnCloseBill();
public: // User declarations
AnsiString FormIniFile;
void __fastcall InitEditControl();
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);
__fastcall TfrmSreth(TComponent* Owner, HWND chWnd, AnsiString MidCode,AnsiString WhereStr);
void __fastcall GenrateBill();
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmSreth *frmSreth;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?