?? type.h
字號(hào):
// 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();
//讀取和設(shè)置成員變量
int GetTypeId();
void SetTypeId(int iTypeId);
CString GetTypeName();
void SetTypeName(CString cTypeName);
// 是否存在指定的類(lèi)別名稱(chēng)
int HaveName(CString cTypeName);
// 插入新的類(lèi)別
void Insert();
// 更新類(lèi)別信息
void Update(CString cTypeId);
// 刪除類(lèi)別
void Delete(CString cTypeId);
};
#endif // !defined(AFX_TYPE_H__13116E4E_38A9_4DF8_8E80_815CF822D5CE__INCLUDED_)
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -