TicTacToeDialog/TicTacToeDlg.h
2022-02-23 22:40:21 +03:00

21 lines
373 B
C++

#pragma once
#include <afxwin.h>
#include "TicTacToeGame.h"
#include "resource.h"
class CTicTacToeDlg : public CDialog, public TicTacToeGame {
public:
CTicTacToeDlg() : CDialog(IDD_TIC_TAC_TOE_DIALOG, NULL) {};
private:
void OnOK();
void DoDataExchange(CDataExchange* pDX);
CButton buttons[9];
DECLARE_MESSAGE_MAP()
afx_msg void OnBnClickedSquare(UINT nID);
};