employee.h
来自「一个以前收集的基于C/S架构的ERP客户端源代码」· C头文件 代码 · 共 117 行
H
117 行
//---------------------------------------------------------------------------
#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>
#include "SDComboBox.h"
//---------------------------------------------------------------------------
class PACKAGE TfrmEmployee;
class TfrmEmployee : public TRecBaseForm
{
__published: // IDE-managed Components
TPanel *EmployeePanel;
TTreeView *tvEmployee;
TSplitter *Splitter1;
TOpenPictureDialog *OpenPictureDialog1;
TPageControl *pcEmployee;
TTabSheet *tsJBZL;
TFloatPanel *FloatPanel1;
TTabSheet *tsJZQK;
TFloatPanel *FloatPanel2;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TLabel *Label12;
TLabel *Label13;
TLabel *Label14;
TLabel *Label7;
TLabel *Label8;
TLabel *Label9;
TLabel *Label6;
TLabel *Label21;
TSDEdit *seEmployeeCode;
TSDEdit *seEmployeeName;
TSDEdit *seEmployeeIDCard;
TDateEdit *deEmployeeBorthDay;
TSDComboBox *scEmployeeEdu;
TSDComboBox *scEmployeeSex;
TSDEdit *seEmployeeAddr;
TSDEdit *seEmployeeZip;
TSDEdit *seEmployeeTel;
TSDEdit *seEmployeeRpr;
TSDEdit *seEmployeePhot;
TLabel *Label5;
TDateEdit *deEmployeeCdate;
TSDComboBox *scEmployeeState;
TLabel *Label22;
TLabel *Label4;
TLabel *Label10;
TLabel *Label11;
TLabel *Label15;
TLabel *Label16;
TLabel *Label17;
TSDComboBox *scEmployeeRank;
TSDComboBox *scEmployeeTow;
TSDComboBox *scEmployeeSkill;
TSDEdit *seEmployeeDept;
TLabel *Label18;
TSDComboBox *scEmployeeWct;
TLabel *Label23;
TLabel *Label20;
TDateEdit *deEmployeeLdate;
TSDEdit *seEmployeeShop;
TSDEdit *seEmployeeTeam;
TSDEdit *seEmployeeLr;
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 muSaveClick(TObject *Sender);
void __fastcall seEmployeeCodeKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall seEmployeeShopButtonClick(TObject *Sender);
void __fastcall seEmployeeTeamButtonClick(TObject *Sender);
void __fastcall seEmployeeLrButtonClick(TObject *Sender);
private: // User declarations
AnsiString KeyCode;
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 FillTreeWithPtype();
void __fastcall InitEditControl();
void __fastcall TreeViewLocation();
void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
public: // User declarations
AnsiString FormIniFile;
__fastcall TfrmEmployee(TComponent* Owner, HWND chWnd, AnsiString MidCode,AnsiString WhereStr);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmEmployee *frmEmployee;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?