📄 newcltfrm.h
字号:
//---------------------------------------------------------------------------
#ifndef NewCltFrmH
#define NewCltFrmH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "BaseFrm.h"
#include <ComCtrls.hpp>
#include <vector>
#include <Declare.h>
//---------------------------------------------------------------------------
class TfrmNewClt : public TfrmBase
{
__published: // IDE-managed Components
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TEdit *edtName;
TLabel *Label4;
TEdit *edtZip;
TLabel *Label5;
TEdit *edtAddr;
TLabel *Label9;
TEdit *edtHeight;
TLabel *Label10;
TEdit *edtWeight;
TLabel *lblRemark;
TRichEdit *rtfRemark;
TButton *btnSave;
TButton *btnCancel;
TComboBox *cboSex;
TDateTimePicker *dtpBirth;
TLabel *Label12;
TLabel *Label13;
TEdit *edtEmployeeNo;
TLabel *Label6;
TLabel *Label7;
TEdit *edtTele;
TEdit *edtEmergencyTele;
TEdit *edtEmergencyName;
TCheckBox *chkMedicineAllergies;
TCheckBox *chkOtherAllErgies;
TCheckBox *chkMedicine;
TCheckBox *chkMedicalHistory;
TCheckBox *chkFamilyHistory;
TCheckBox *chkMenstruation;
TCheckBox *chkChildBirth;
TCheckBox *chkHospitalization;
TCheckBox *chkOperation;
TGroupBox *grbHabits;
TCheckBox *chkCigarettes;
TCheckBox *chkAlcohol;
TListBox *lsbHistoryList;
TMemo *mmoHistoryContent;
TCheckBox *chkSocialHistory;
TLabel *Label14;
TComboBox *cboMarital;
TComboBox *cboProfession;
TLabel *Label15;
TComboBox *cboSuprName;
TLabel *Label16;
TLabel *lblHistoryList;
TLabel *lblHistoryContent;
TLabel *Label11;
TEdit *edtBirthPlace;
TLabel *Label18;
TComboBox *cboDepartment;
void __fastcall FormShow(TObject *Sender);
void __fastcall btnCancelClick(TObject *Sender);
void __fastcall btnSaveClick(TObject *Sender);
void __fastcall chkOperationClick(TObject *Sender);
void __fastcall mmoHistoryContentChange(TObject *Sender);
void __fastcall lsbHistoryListClick(TObject *Sender);
private: // User declarations
std::vector<tagHistoryData> m_vect_History;
std::vector<int> m_vect_No;
String AdjustStr(String str);
AnsiString GetInsertSQL();
AnsiString GetUpdateSQL();
bool OpenClientInfo(AnsiString strId);
public:
tagEmployeeInf m_EmployeeInf;
bool m_bNewFlag; // User declarations
String m_strCurUsr;
String m_strCltId;
__fastcall TfrmNewClt(TComponent* Owner);
String GetCltId();
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmNewClt *frmNewClt;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -