types.h

来自「固定资产管理系统,VC++做的,很有参考价值,源码也说明文档都有.」· C头文件 代码 · 共 32 行

H
32
字号
// Types.h: interface for the CTypes class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_TYPES_H__7AF1504C_8699_42D5_9ADA_0DD11E3E60F0__INCLUDED_)
#define AFX_TYPES_H__7AF1504C_8699_42D5_9ADA_0DD11E3E60F0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CTypes  
{
public:
	int TypeId;
	CString TypeName;

	CTypes();
	virtual ~CTypes();

	// 是否存在指定的类别名称
	int HaveName(CString cTypeName);
	// 插入新的类别
	void sql_Insert();
	// 更新类别信息
	void sql_Update(CString cTypeId);
	// 删除类别
	void sql_Delete(CString cTypeId);
};

#endif // !defined(AFX_TYPES_H__7AF1504C_8699_42D5_9ADA_0DD11E3E60F0__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?