📄 mpc.h
字号:
//---------------------------------------------------------------------------
#ifndef MpcH
#define MpcH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "fpanel.h"
#include "RecBaseForm.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <ComCtrls.hpp>
#include <Dialogs.hpp>
#include <Grids.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmMpc;
class TfrmMpc : public TRecBaseForm
{
__published: // IDE-managed Components
TSDGrid *sgMpc;
TFloatPanel *fpMpc;
TLabel *Label2;
TLabel *Label16;
TLabel *Label5;
TSDEdit *seMpcQty;
TSDEdit *seMpcGoods;
TSDEdit *seMpcGoodsName;
TLabel *Label1;
void __fastcall FormShow(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall sgMpcClick(TObject *Sender);
void __fastcall seMpcGoodsButtonClick(TObject *Sender);
void __fastcall seMpcGoodsExit(TObject *Sender);
private: // User declarations
void __fastcall InitEditControl();
void __fastcall ClearControl(bool BringToNext);
void __fastcall WaitUserInput();
void __fastcall GetDataFromComObject();
void __fastcall SendDataToComObject();
void __fastcall FillGridWithData();
void __fastcall RefreshGridData(int mAction);
void __fastcall SetFieldValue(int iFieldIndex,AnsiString sFieldValue);
AnsiString __fastcall GetFieldValue(int iFieldIndex);
AnsiString __fastcall GetDataToGrid();
public: // User declarations
__fastcall TfrmMpc(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmMpc *frmMpc;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -