sale.h

来自「基于VC+SQL SERVER环境开发的企业商品销售系统.完整的数据库和原代码」· C头文件 代码 · 共 57 行

H
57
字号
// Sale.h : main header file for the SALE application
//

#if !defined(AFX_SALE_H__B0D6DDEA_10BB_4911_8386_70B5FA86CCB0__INCLUDED_)
#define AFX_SALE_H__B0D6DDEA_10BB_4911_8386_70B5FA86CCB0__INCLUDED_

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

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CSaleApp:
// See Sale.cpp for the implementation of this class
//

class CSaleApp : public CWinApp
{
public:
	CSaleApp();
	_ConnectionPtr  m_pConn;//连接创建
	CString TreeConnString;//连接字符串
	_RecordsetPtr m_pIDRecordset;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSaleApp)
	public:
	virtual BOOL InitInstance();
	CString ToStringCTime(CTime ct);
	CString VariantToCString(VARIANT var);
	CString GetStringFromVariant(_variant_t var);
	int compareTwoCString(CString str1,CString str2);
	//}}AFX_VIRTUAL

// Implementation
	//{{AFX_MSG(CSaleApp)
	afx_msg void OnAppAbout();
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SALE_H__B0D6DDEA_10BB_4911_8386_70B5FA86CCB0__INCLUDED_)

⌨️ 快捷键说明

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