?? patient.h
字號:
// Patient.h: interface for the CPatient class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PATIENT_H__3E04416A_0F49_44F5_8A3A_CC4F461226C2__INCLUDED_)
#define AFX_PATIENT_H__3E04416A_0F49_44F5_8A3A_CC4F461226C2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CPatient
{
private:
int Id;
CString Name;
CString IDNum;
CString Sex;
int Age;
CString Marry;
public:
CPatient();
virtual ~CPatient();
// 屬性設置
void SetId(int iId);
int GetId();
void SetName(CString cName);
CString GetName();
void SetIDNum(CString cIDNum);
CString GetIDNum();
void SetSex(CString cSex);
CString GetSex();
void SetAge(int iAge);
int GetAge();
void SetMarry(CString cMarry);
CString GetMarry();
public:
// 插入新的患者信息
int sql_Insert();
// 更改患者信息
void sql_Update(CString cId);
// 刪除患者信息
void sql_Delete(CString cId);
};
#endif // !defined(AFX_PATIENT_H__3E04416A_0F49_44F5_8A3A_CC4F461226C2__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -