ssp.h

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

H
65
字号
//---------------------------------------------------------------------------

#ifndef SspH
#define SspH
//---------------------------------------------------------------------------
#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 TfrmSsp;
class  TfrmSsp : public TRecBaseForm
{
__published:	// IDE-managed Components
    TSDGrid *sgSsp;
    TFloatPanel *FloatPanel2;
    TLabel *Label1;
    TCSpinEdit *csSspYear;
    TPanel *Panel1;
    TSDTreeView *tvSaler;
    void __fastcall muSaveClick(TObject *Sender);
    void __fastcall tvSalerChange(TObject *Sender, TTreeNode *Node);
    void __fastcall csSspYearChange(TObject *Sender);
    void __fastcall muCancelClick(TObject *Sender);
    void __fastcall muEditDetailClick(TObject *Sender);
   void __fastcall FormShow(TObject *Sender);
	void __fastcall sgSspClick(TObject *Sender);
private:
    AnsiString FSalerValue;	// User declarations
    int CurRowNum;
    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 SetSalerValue(AnsiString value);
    AnsiString __fastcall GetSalerValue();
    void  __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
public:		// User declarations
    __fastcall TfrmSsp(TComponent* Owner, HWND chWnd, AnsiString MidCode,AnsiString WhereStr);
    __property AnsiString SalerValue  = { read=GetSalerValue, write=SetSalerValue };
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmSsp *frmSsp;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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