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

📄 pushminedlg.h

📁 一个机器自己学习玩扫雷游戏的程序!快试试!
💻 H
字号:
// PushMineDlg.h : header file
//

#if !defined(AFX_PUSHMINEDLG_H__B41B2E0F_2093_4816_A4A2_89EECBD9B326__INCLUDED_)
#define AFX_PUSHMINEDLG_H__B41B2E0F_2093_4816_A4A2_89EECBD9B326__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPushMineDlg dialog
#include "MineArea.h"

class CPushMineDlg : public CDialog
{
// Construction
public:
	void Conclusion(int i,int j,int state);
	CPushMineDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CPushMineDlg)
	enum { IDD = IDD_PUSHMINE_DIALOG };
	CEdit	m_ctrlEquation;
	CEdit	m_ctrlInfo;
	CEdit	m_ctrlStatus;
	CMineArea	m_ctrlMineArea;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPushMineDlg)
	public:
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	CMenu	  menu;
	CPoint		pt;
	CString	strState;
	CString	m_strStatus;
	// Generated message map functions
	//{{AFX_MSG(CPushMineDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnBombbomb();
	afx_msg void OnBombeight();
	afx_msg void OnBombfive();
	afx_msg void OnBombfour();
	afx_msg void OnBombone();
	afx_msg void OnBombonone();
	afx_msg void OnBombseven();
	afx_msg void OnBombsix();
	afx_msg void OnBombthree();
	afx_msg void OnBombtwo();
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnInfer();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnButton1();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void Gather(CPoint point,int draw,int state);
};

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

#endif // !defined(AFX_PUSHMINEDLG_H__B41B2E0F_2093_4816_A4A2_89EECBD9B326__INCLUDED_)

⌨️ 快捷键说明

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