gsp.h

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

H
67
字号
//---------------------------------------------------------------------------

#ifndef GspH
#define GspH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "fpanel.h"
#include "RecBaseForm.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include <Dialogs.hpp>
#include "CSPIN.h"
#include "SDTreeView.h"
//---------------------------------------------------------------------------
class PACKAGE TfrmGsp;
class  TfrmGsp : public TRecBaseForm
{
__published:	// IDE-managed Components
    TSDGrid *sgGsp;
        TFloatPanel *FloatPanel2;
        TLabel *Label1;
        TCSpinEdit *csGspYear;
        TImageList *ImageList2;
        TPanel *Panel1;
        TSDTreeView *tvGoods;
        void __fastcall muSaveClick(TObject *Sender);
        void __fastcall tvGoodsChange(TObject *Sender, TTreeNode *Node);
        void __fastcall csGspYearChange(TObject *Sender);
        void __fastcall muCancelClick(TObject *Sender);
        void __fastcall muEditDetailClick(TObject *Sender);
        void __fastcall tvGoodsDblClick(TObject *Sender);
        void __fastcall sgGspClick(TObject *Sender);
   void __fastcall FormShow(TObject *Sender);
        void __fastcall FormActivate(TObject *Sender);
private:
        AnsiString FGoodsValue;	// User declarations
    void __fastcall ClearControl(bool BringToNext);
    void __fastcall GetDataFromComObject();
    void __fastcall SendDataToComObject();
    AnsiString KeyCode;
    void __fastcall WaitUserInput();
    AnsiString __fastcall GetDataToGrid();
    void __fastcall RefreshGridData(int mAction);
    void __fastcall FillGridWithData();
    void __fastcall InitEditControl();
        void __fastcall SetGoodsValue(AnsiString value);
        AnsiString __fastcall GetGoodsValue();
    void  __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
    void __fastcall  FillGoods(TTreeNode *SelectedPmpcNode);
public:		// User declarations
    __fastcall TfrmGsp(TComponent* Owner, HWND chWnd, AnsiString MidCode,AnsiString WhereStr);
        __property AnsiString GoodsValue  = { read=GetGoodsValue, write=SetGoodsValue };
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmGsp *frmGsp;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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