📄 employee.h
字号:
//---------------------------------------------------------------------------
#ifndef EmployeeH
#define EmployeeH
//---------------------------------------------------------------------------
#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 <ComCtrls.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include "Dateedit.hpp"
#include <Mask.hpp>
#include "DateEdit.hpp"
#include <Dialogs.hpp>
#include <ExtCtrls.hpp>
#include <Buttons.hpp>
#include <ExtDlgs.hpp>
#include <Graphics.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmEmployee;
class TfrmEmployee : public TRecBaseForm
{
__published: // IDE-managed Components
TPanel *EmployeePanel;
TTreeView *tvEmployee;
TFloatPanel *FloatPanel1;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TLabel *Label28;
TLabel *Label12;
TLabel *Label13;
TLabel *Label14;
TLabel *Label7;
TLabel *Label8;
TLabel *Label9;
TLabel *Label5;
TLabel *Label6;
TLabel *deEmployeeSysDate;
TSDEdit *seEmployeeCode;
TSDEdit *seEmployeeName;
TSDEdit *seEmployeeIDCard;
TDateEdit *deEmployeeBorthDay;
TSDComboBox *scEmployeeEdu;
TSDComboBox *scEmployeeSex;
TSDEdit *seEmployeeAddr;
TSDEdit *seEmployeeZip;
TSDEdit *seEmployeeTel;
TDateEdit *deEmployeeCdate;
TSDEdit *seEmployeeRpr;
TSplitter *Splitter1;
TGroupBox *GroupBox1;
TLabel *Label4;
TSDComboBox *scEmployeeRank;
TLabel *Label10;
TLabel *Label11;
TLabel *Label15;
TLabel *Label16;
TLabel *Label17;
TLabel *Label18;
TLabel *Label19;
TSDComboBox *scEmployeeWct;
TSDComboBox *scEmployeeShop;
TSDComboBox *scEmployeeTeam;
TSDComboBox *scEmployeeTow;
TSDComboBox *scEmployeeSkill;
TDateEdit *deEmployeeLdate;
TLabel *Label20;
TLabel *Label21;
TLabel *lbEmployeePhoto;
TSpeedButton *spBtnPict;
TOpenPictureDialog *OpenPictureDialog1;
TLabel *Label22;
TSDComboBox *scEmployeeState;
TLabel *Label23;
TSDComboBox *scEmployeeLr;
TSDEdit *scEmployeeDept;
TSDEdit *seEmployeeUser;
void __fastcall FormShow(TObject *Sender);
void __fastcall tvEmployeeChange(TObject *Sender, TTreeNode *Node);
void __fastcall muAddDetailClick(TObject *Sender);
void __fastcall muEditDetailClick(TObject *Sender);
void __fastcall muDeleteDetailClick(TObject *Sender);
void __fastcall spBtnPictClick(TObject *Sender);
void __fastcall scEmployeeShopClick(TObject *Sender);
void __fastcall muSaveClick(TObject *Sender);
void __fastcall muCancelClick(TObject *Sender);
void __fastcall seEmployeeCodeKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
private: // User declarations
AnsiString __fastcall GetFieldValue(int FieldIndex);
void __fastcall ClearControl(bool BringToNext);
void __fastcall GetDataFromComObject();
void __fastcall SendDataToComObject();
void __fastcall WaitUserInput();
AnsiString __fastcall GetDataToGrid();
void __fastcall RefreshGridData(int mAction);
void __fastcall FillGridWithData();
void __fastcall FillTreeWithPtype();
void __fastcall InitEditControl();
void __fastcall TreeViewLocation();
void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
AnsiString KeyCode;
public: // User declarations
__fastcall TfrmEmployee(TComponent* Owner);
AnsiString FormIniFile;
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmEmployee *frmEmployee;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -