16,472
社区成员
发帖
与我相关
我的任务
分享
CMyDlg::CMyDlg(CWnd* pParent /*=NULL*/)
: CDialog(CMyDlg::IDD, pParent)
, m_count(0)
, m_leval(0)
{
isstart = 0;
ispause = 0;
int i,j;
for(i = 0; i < 4; i++)
{
for(j = 0; j < 4; j++)
next_status[i][j] = 0;
}
}
CMyDlg::~CMyDlg()
{
}
void CMyDlg::InitNextStatus(int nexttype)
{
int i,j;
for(i = 0; i < 4; i++)
{
for(j = 0; j < 4; j++)
next_status[i][j] = 0;
}
}
public:
afx_msg void OnPaint();
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
CStatic m_staticcount;
CStatic m_staticleval;
int isstart;
int ispause;
int m_count;
int m_leval;
int next_status[4][4];