anttspview.h

来自「蚁群算法解决TSP问题,界面实现,有城市,有坐标,有路线,是我自己编的」· C头文件 代码 · 共 73 行

H
73
字号
// AntTSPView.h : interface of the CAntTSPView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_ANTTSPVIEW_H__70C13FAD_B737_400F_B07D_10294289C321__INCLUDED_)
#define AFX_ANTTSPVIEW_H__70C13FAD_B737_400F_B07D_10294289C321__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CAntTSPView : public CFormView
{
protected: // create from serialization only
	CAntTSPView();
	DECLARE_DYNCREATE(CAntTSPView)

public:
	//{{AFX_DATA(CAntTSPView)
	enum { IDD = IDD_ANTTSP_FORM };
	CStatic	m_t;
	CStatic	m_s;
	//}}AFX_DATA

// Attributes
public:
	CAntTSPDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAntTSPView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	virtual void OnDraw(CDC* pDC);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CAntTSPView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CAntTSPView)
	afx_msg void Onstart();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in AntTSPView.cpp
inline CAntTSPDoc* CAntTSPView::GetDocument()
   { return (CAntTSPDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ANTTSPVIEW_H__70C13FAD_B737_400F_B07D_10294289C321__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?