📄 线性分类器dlg.h
字号:
// 线性分类器Dlg.h : header file
//
#if !defined(AFX_DLG_H__D2B8585B_AD8A_4075_80FE_9964635F93E1__INCLUDED_)
#define AFX_DLG_H__D2B8585B_AD8A_4075_80FE_9964635F93E1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMyDlg dialog
#include"ButtonST.h"
#include"MyStatic.h"
class CMyDlg : public CDialog
{
// Construction
public:
CMyDlg(CWnd* pParent = NULL); // standard constructor
CBitmap mybitmap;
int onep[100];
int towp[100];
int onetp[200];
int towtp[200];
int t;
BOOL flag1,flag2,flagd;
int m;
double w1,w2,w4;
int x1,x2,y1,y2,xt1,xt2,yt1,yt2;
double a;
bool fa1,fa2,fa3;
BOOL flagl;
BOOL fg;
// Dialog Data
//{{AFX_DATA(CMyDlg)
enum { IDD = IDD_MY_DIALOG };
CMyStatic m_z;
CButtonST m_b7;
CButtonST m_b6;
CButtonST m_b5;
CButtonST m_b4;
CButtonST m_b3;
CButtonST m_b2;
CButtonST m_b1;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMyDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnButton1();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnButton4();
afx_msg void OnButton5();
afx_msg void OnButton2();
afx_msg void OnButton3();
afx_msg void OnButton6();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG_H__D2B8585B_AD8A_4075_80FE_9964635F93E1__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -