timework.h
来自「一个以前收集的基于C/S架构的ERP客户端源代码」· C头文件 代码 · 共 81 行
H
81 行
//---------------------------------------------------------------------------
#ifndef TimeWorkH
#define TimeWorkH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "RecBaseForm.h"
#include <ComCtrls.hpp>
#include <Dialogs.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include "fpanel.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <Grids.hpp>
#include "DateEdit.hpp"
#include "SDComboBox.h"
#include <Mask.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmTimeWork;
class TfrmTimeWork : public TRecBaseForm
{
__published: // IDE-managed Components
TFloatPanel *FloatPanel3;
TLabel *Label14;
TLabel *labTimeWorkUser;
TLabel *Label11;
TLabel *labTimeWorkChecker;
TLabel *Label9;
TLabel *labTimeWorkCheckDate;
TCheckBox *chkTimeWorkCheck;
TFloatPanel *FloatPanel1;
TLabel *Label1;
TLabel *Label2;
TLabel *Label4;
TLabel *Label5;
TSDEdit *seTimeWorkCode;
TLabel *Label6;
TDateEdit *sdTimeWorkDate;
TSDEdit *seTimeWorkQty;
TSDComboBox *scTimeWorkItem;
TSDEdit *seTimeWorkEmployee;
TSDGrid *sgTimeWork;
TLabel *Label3;
TSDEdit *seTimeWorkDept;
TDateEdit *sdTimeWorkSDate;
TDateEdit *sdTimeWorkEDate;
TLabel *Label7;
TLabel *Label8;
void __fastcall FormShow(TObject *Sender);
void __fastcall seTimeWorkCodeKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall sgTimeWorkClick(TObject *Sender);
void __fastcall seTimeWorkEmployeeButtonClick(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall sdTimeWorkEDateExit(TObject *Sender);
private: // User declarations
void __fastcall InitEditControl();
AnsiString __fastcall GetDataToGrid();
void __fastcall ClearControl(bool BringToNext);
void __fastcall GetDataFromComObject();
void __fastcall SendDataToComObject();
void __fastcall WaitUserInput();
void __fastcall RefreshGridData(int mAction);
void __fastcall FillGridWithData();
void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
bool __fastcall BeforeCheck();
bool __fastcall BeforeUnCheck();
public: // User declarations
void __fastcall CalculateDate();
__fastcall TfrmTimeWork(TComponent* Owner, HWND chWnd, AnsiString MidCode,AnsiString WhereStr);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmTimeWork *frmTimeWork;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?