⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 type.h

📁 这是一个功能相对完善的电脑报价管理系统 的一个例子
💻 H
字号:
// Type.h: interface for the CType class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_TYPE_H__82CEF2AB_03AA_480E_8636_A3C8E1E00A96__INCLUDED_)
#define AFX_TYPE_H__82CEF2AB_03AA_480E_8636_A3C8E1E00A96__INCLUDED_

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

class CType  
{
public:
	CType();
	virtual ~CType();
public:
	long TypeId;
	CString TypeName;
	int Flag;	// 所属类别分为2种:0-类型;1-品牌

public:
	// 插入新的类型
	void sql_Insert();
	// 更改类型信息
	void sql_Update(CString cTypeId);
	// 删除类型
	void sql_Delete(CString cTypeId);
	// 判断是否存在指定类型的名称
	BOOL HaveTypeName(CString cFlag);
};

#endif // !defined(AFX_TYPE_H__82CEF2AB_03AA_480E_8636_A3C8E1E00A96__INCLUDED_)

⌨️ 快捷键说明

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