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

📄 cts.h

📁 速达开源ERP系统
💻 H
字号:
//---------------------------------------------------------------------------

#ifndef CtsH
#define CtsH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "RecBaseForm.h"
#include <ComCtrls.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include "fpanel.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <Grids.hpp>
#include <Dialogs.hpp>
#include "DateEdit.hpp"
#include "SDComboBox.h"
#include <Mask.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmCts ;
class TfrmCts : public TRecBaseForm
{
__published:	// IDE-managed Components
        TSDGrid *sgCts;
        TFloatPanel *FloatPanel1;
        TSDEdit *seCtsCode;
        TLabel *Label1;
        TSDComboBox *scCtsCac;
        TLabel *Label2;
        TLabel *Label3;
        TDateEdit *deCtsDate;
        TLabel *Label4;
        TSDComboBox *scCtsUser;
        TLabel *Label5;
        TSDEdit *seCtsAAmt;
        TLabel *Label6;
        TSDEdit *seCtsTAmt;
        TGroupBox *GroupBox1;
        TLabel *Label7;
        TSDEdit *seCts100yQty;
        TLabel *Label8;
        TSDEdit *seCts50yQty;
        TLabel *Label9;
        TSDEdit *seCts20yQty;
        TLabel *Label10;
        TSDEdit *seCts10yQty;
        TLabel *Label11;
        TSDEdit *seCts5yQty;
        TLabel *Label12;
        TSDEdit *seCts2yQty;
        TLabel *Label13;
        TSDEdit *seCts1yQty;
        TLabel *Label14;
        TSDEdit *seCts5jQty;
        TLabel *Label15;
        TSDEdit *seCts2jQty;
        TLabel *Label16;
        TSDEdit *seCts1jQty;
        TLabel *Label17;
        TSDEdit *seCts5fQty;
        TLabel *Label18;
        TSDEdit *seCts2fQty;
        TLabel *Label19;
        TSDEdit *seCts1fQty;
        void __fastcall FormShow(TObject *Sender);
        void __fastcall seCts100yQtyExit(TObject *Sender);
        void __fastcall sgCtsClick(TObject *Sender);
        void __fastcall seCtsCodeKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
private:	// User declarations

      void __fastcall InitEditControl();
      void __fastcall ClearControl(bool BringToNext);
      void __fastcall GetDataFromComObject();
      void __fastcall SendDataToComObject();
      void __fastcall WaitUserInput();
      void __fastcall RefreshGridData(int mAction);
      AnsiString __fastcall GetFieldValue(int iFieldIndex);
      AnsiString __fastcall GetDataToGrid();
      void __fastcall FillGridWithData();
      void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);


public:		// User declarations
      void __fastcall AutoCalculation();

      __fastcall TfrmCts(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmCts *frmCts;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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