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

📄 xongdlg.h

📁 8数码问题
💻 H
字号:
// xongDlg.h : header file
//

#if !defined(AFX_XONGDLG_H__BADBD16E_26CB_4610_9294_E7A6BF2B5BE1__INCLUDED_)
#define AFX_XONGDLG_H__BADBD16E_26CB_4610_9294_E7A6BF2B5BE1__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CXongDlg dialog

#include"Tlist.h"
#include"global.h"
class CXongDlg : public CDialog
{
// Construction
public:
	CXongDlg(CWnd* pParent = NULL);	// standard constructor
    bool GetBData(int mData[][3]);
    bool GetEData(int mData[][3]);
    int FindbEmpty();
	int FindeEmpty();
	void Swapb(int i,int j);
	void Swape(int i,int j);
        int NData[3][3]; //全局变量,记录将牌各位置的当前状态
        int CurrentStep;

// Dialog Data
	//{{AFX_DATA(CXongDlg)
	enum { IDD = IDD_XONG_DIALOG };
	CButton	m_x[9];
	CButton m_b[9];
	CButton m_e[9];
	CStatic m_info;

	//}}AFX_DATA
    void DoDataExchange(CDataExchange* pDX);
// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CXongDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void Oncompute();
	afx_msg void OnDestroy();
	afx_msg void Ondemo();
	afx_msg void Onpriv();
	afx_msg void Onb0();
	afx_msg void Onb1();
	afx_msg void Onb2();
	afx_msg void Onb3();
	afx_msg void Onb4();
	afx_msg void Onb5();
	afx_msg void Onb6();
	afx_msg void Onb7();
	afx_msg void Onb8();
	afx_msg void One0();
	afx_msg void One1();
	afx_msg void One2();
	afx_msg void One3();
	afx_msg void One4();
	afx_msg void One5();
	afx_msg void One6();
	afx_msg void One7();
	afx_msg void One8();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_XONGDLG_H__BADBD16E_26CB_4610_9294_E7A6BF2B5BE1__INCLUDED_)

⌨️ 快捷键说明

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