📄 chessdoc.h
字号:
// chessDoc.h : interface of the CChessDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CHESSDOC_H__4393C32B_EF15_11CB_A140_B81B1BB36960__INCLUDED_)
#define AFX_CHESSDOC_H__4393C32B_EF15_11CB_A140_B81B1BB36960__INCLUDED_
#include "MyChess.h" // Added by ClassView
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CChessDoc : public CDocument
{
protected: // create from serialization only
CChessDoc();
DECLARE_DYNCREATE(CChessDoc)
// Attributes
public:
BOOL EnableClick;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChessDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
//}}AFX_VIRTUAL
// Implementation
public:
CPoint Thinking();
MyChess chess;
virtual ~CChessDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CChessDoc)
afx_msg void OnEditUndo();
afx_msg void OnFileSave();
afx_msg void OnFileOpen();
afx_msg void OnFileNew();
afx_msg void OnOption();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
MyChess CopyChess(MyChess);
MyChess CloneChess(MyChess,int);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHESSDOC_H__4393C32B_EF15_11CB_A140_B81B1BB36960__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -