📄 wpe.h
字号:
//---------------------------------------------------------------------------
#ifndef WpeH
#define WpeH
//---------------------------------------------------------------------------
#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 <Dialogs.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
class PACKAGE TfrmWpe;
//---------------------------------------------------------------------------
class TfrmWpe : public TRecBaseForm
{
__published: // IDE-managed Components
TFloatPanel *FloatPanel1;
TLabel *Label2;
TPanel *Panel1;
TLabel *Label10;
TLabel *Label1;
TLabel *Label4;
TSDEdit *seWpeEmployeeTow;
TSDEdit *seWpeEmployeeName;
TSDComboBox *scWpeEmployee;
TSDGrid *sgWpe;
TFloatPanel *FloatPanel2;
TLabel *Label9;
TLabel *Label3;
TSDComboBox *scWpeProcess;
TLabel *Label11;
TSDComboBox *scWpeWageType;
TLabel *labWpeWo;
TSDComboBox *scWpeEmployeeSex;
TLabel *Label7;
TSDEdit *seWpeLabRate;
TSDEdit *seWpePieceRate;
TLabel *Label8;
TLabel *Label5;
TLabel *Label6;
TSDComboBox *scWpeShop;
TSDComboBox *scWpeTeam;
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
void __fastcall scWpeEmployeeClick(TObject *Sender);
void __fastcall sgWpeClick(TObject *Sender);
void __fastcall scWpeShopClick(TObject *Sender);
void __fastcall scWpeTeamClick(TObject *Sender);
void __fastcall scWpeWageTypeClick(TObject *Sender);
private: // User declarations
AnsiString __fastcall GetFieldValue(int FieldIndex);
AnsiString __fastcall GetDataToGrid();
void __fastcall SetToolBarEnable();
void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
void __fastcall SetFieldValue(int FieldIndex,AnsiString Value);
void __fastcall ClearControl(bool BringToNext);
void __fastcall GetDataFromComObject();
void __fastcall SendDataToComObject();
void __fastcall WaitUserInput();
void __fastcall RefreshGridData(int mAction);
void __fastcall FillGridWithData();
void __fastcall InitEditControl();
AnsiString FWpeWo;
AnsiString FWpeProcess;
int FWpeWoCheck;
int FWpeWoCancel;
public: // User declarations
__fastcall TfrmWpe(TComponent* Owner);
__fastcall TfrmWpe(TComponent* Owner,AnsiString FWoCode,AnsiString FWrgProcess,
int FWoCheck,int FWoCancel);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmWpe *frmWpe;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -