1 |
// test1Dlg.h : header file
|
2 |
//
|
3 |
|
4 |
#pragma once
|
5 |
#include "afxwin.h"
|
6 |
#include "sudoku.h"
|
7 |
|
8 |
|
9 |
|
10 |
// Ctest1Dlg dialog
|
11 |
class Ctest1Dlg : public CDialog
|
12 |
{
|
13 |
// Construction
|
14 |
public:
|
15 |
Ctest1Dlg(CWnd* pParent = NULL); // standard constructor
|
16 |
|
17 |
// Dialog Data
|
18 |
enum { IDD = IDD_TEST1_DIALOG };
|
19 |
|
20 |
protected:
|
21 |
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
22 |
|
23 |
|
24 |
// Implementation
|
25 |
protected:
|
26 |
HICON m_hIcon;
|
27 |
|
28 |
Sudoku m_sudoku;
|
29 |
|
30 |
|
31 |
// Generated message map functions
|
32 |
virtual BOOL OnInitDialog();
|
33 |
afx_msg void OnPaint();
|
34 |
afx_msg HCURSOR OnQueryDragIcon();
|
35 |
DECLARE_MESSAGE_MAP()
|
36 |
|
37 |
afx_msg void OnBnClickedOk();
|
38 |
afx_msg void OnBnClickedButton1();
|
39 |
afx_msg void OnBnClickedClear();
|
40 |
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
|
41 |
afx_msg void OnBnClickedAbout();
|
42 |
afx_msg void OnBnClickedClearcalc();
|
43 |
|
44 |
virtual void OnOK();
|
45 |
virtual void OnCancel();
|
46 |
void DrawMatrix(void);
|
47 |
|
48 |
};
|