📄 bpdlg.h
字号:
// bpDlg.h : header file
//
#if !defined(AFX_BPDLG_H__500901E7_3C46_41EF_8C80_7CB8E3A3547E__INCLUDED_)
#define AFX_BPDLG_H__500901E7_3C46_41EF_8C80_7CB8E3A3547E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CBpDlg dialog
#include "mychangshu.h"
#include "BPNet.h"
class CBpDlg : public CDialog
{
// Construction
public:
CBpDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CBpDlg)
enum { IDD = IDD_BP_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBpDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
public:
int temp[10][5][256];
void InitSample();
BOOL m_bInitDraw;
CPen m_hPen;
CBrush m_brBack;
CBrush m_brSquare;
CBPNet bp;
float sizeWidth;
float sizeHeight;
CRect m_rectArray[LEN][LEN];
BOOL m_bArray[LEN][LEN];
int m_InputArray[LEN][LEN];
BOOL ach;
// Generated message map functions
//{{AFX_MSG(CBpDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnTrain();
afx_msg void OnRecog();
afx_msg void OnClr();
afx_msg void OnSample();
afx_msg void OnCenter();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BPDLG_H__500901E7_3C46_41EF_8C80_7CB8E3A3547E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -