⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 inputgraphprimdlg.h

📁 师兄做的算法可视化演示程序
💻 H
字号:
#if !defined(AFX_INPUTGRAPHPRIMDLG_H__9BEABD58_DAA3_469D_AD41_231F0B7460FD__INCLUDED_)
#define AFX_INPUTGRAPHPRIMDLG_H__9BEABD58_DAA3_469D_AD41_231F0B7460FD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// InputGraphPrimDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CInputGraphPrimDlg dialog
#include "BtnST.h"
class CInputGraphPrimDlg : public CDialog
{
// Construction
public:
	void Drawarc(int number1,int number2,double arc);
	int m_arcflag;
	int m_nodeflag;
	int m_nodenumber;
	CPoint pointarray[50];//记录顶点,最多50个
	double gn[50][50];    //记录各边的权值
	void Drawnode(CPoint point,char c);
	CInputGraphPrimDlg(CWnd* pParent = NULL);   // standard constructor
	CButtonST	m_NodeButton;
	CButtonST	m_ArcButton;
	CButtonST	m_OkButton;
    CButtonST	m_HelpButton;
    CButtonST	m_CancelButton;
// Dialog Data
	//{{AFX_DATA(CInputGraphPrimDlg)
	enum { IDD = IDD_INPUTGRAPHPRIMDLG_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CInputGraphPrimDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CInputGraphPrimDlg)
	afx_msg void OnPaint();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	virtual BOOL OnInitDialog();
	afx_msg void OnNode();
	afx_msg void OnArc();
	virtual void OnCancel();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_INPUTGRAPHPRIMDLG_H__9BEABD58_DAA3_469D_AD41_231F0B7460FD__INCLUDED_)

⌨️ 快捷键说明

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