type.h
来自「完整的资产管理系统」· C头文件 代码 · 共 39 行
H
39 行
// Type.h: interface for the CType class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_TYPE_H__13116E4E_38A9_4DF8_8E80_815CF822D5CE__INCLUDED_)
#define AFX_TYPE_H__13116E4E_38A9_4DF8_8E80_815CF822D5CE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CType
{
private:
int m_TypeId;
CString m_TypeName;
public:
CType();
virtual ~CType();
//读取和设置成员变量
int GetTypeId();
void SetTypeId(int iTypeId);
CString GetTypeName();
void SetTypeName(CString cTypeName);
// 是否存在指定的类别名称
int HaveName(CString cTypeName);
// 插入新的类别
void Insert();
// 更新类别信息
void Update(CString cTypeId);
// 删除类别
void Delete(CString cTypeId);
};
#endif // !defined(AFX_TYPE_H__13116E4E_38A9_4DF8_8E80_815CF822D5CE__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?