📄 testparamsdlg.h
字号:
#if !defined(AFX_TESTPARAMSDLG_H__80D0B3AF_612A_44F9_B491_CC5639DB4A7B__INCLUDED_)
#define AFX_TESTPARAMSDLG_H__80D0B3AF_612A_44F9_B491_CC5639DB4A7B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TestParamsDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CTestParamsDlg dialog
class CTestParamsDlg : public CDialog
{
// Construction
public:
void SetControlStatus();
void SetClassifierType(int nType);
CTestParamsDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CTestParamsDlg)
enum { IDD = IDD_TESTPARAMS };
CString m_strResultDir;
CString m_strTestDir;
int m_nDocFormat;
UINT m_nKNN;
double m_dThreshold;
BOOL m_bEvaluation;
int m_nClassifyType;
BOOL m_bCopyFiles;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTestParamsDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CTestParamsDlg)
afx_msg void OnBtnOk();
afx_msg void OnBtnCancel();
afx_msg void OnBtnResults();
afx_msg void OnBtnTest();
virtual BOOL OnInitDialog();
afx_msg void OnEvaluate();
afx_msg void OnClassifytype();
afx_msg void OnMulti();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
//0 代表KNN; 1 代表SVM
int m_nClassifierType;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TESTPARAMSDLG_H__80D0B3AF_612A_44F9_B491_CC5639DB4A7B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -