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

📄 winlottorydoc.h

📁 完成抽奖的基本功能。可以载入文本文件
💻 H
字号:
// WinLottoryDoc.h : interface of the CWinLottoryDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_WINLOTTORYDOC_H__484299E2_B1B6_48D1_B6AD_24FA35C8772A__INCLUDED_)
#define AFX_WINLOTTORYDOC_H__484299E2_B1B6_48D1_B6AD_24FA35C8772A__INCLUDED_

#include "Picture.h"	// Added by ClassView
#include "CIniFile.h"	// Added by ClassView
#include "stdafx.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CWinLottoryDoc : public CDocument
{
protected: // create from serialization only
	CWinLottoryDoc();
	DECLARE_DYNCREATE(CWinLottoryDoc)

// Attributes
public:
	CString		 m_sConfigFileName;
	CIniFile	 m_sConfigFile;
	CString		 m_sLottoryFileName;
	CStdioFile   m_sLottoryFile;
	// 抽奖号码
	CStringArray m_sLottoryData;
	// 中奖号码
	CStringArray m_sLottoryBingo;
	int m_nIfTimer;
	int m_nIfSetTimer;
	// 
	int m_nLottoryTimes;
	int m_nLottory[3];
	// 本次抽奖开关
	int m_nFlag;
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CWinLottoryDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CWinLottoryDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	CPicture m_pict;
public:
	
// Generated message map functions
protected:
	
	//{{AFX_MSG(CWinLottoryDoc)
		// 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_WINLOTTORYDOC_H__484299E2_B1B6_48D1_B6AD_24FA35C8772A__INCLUDED_)

⌨️ 快捷键说明

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