📄 newguidedlg.h
字号:
// newguideDlg.h : header file
//
#if !defined(AFX_NEWGUIDEDLG_H__E85451FD_0EFB_4213_86D3_F80D149DFD38__INCLUDED_)
#define AFX_NEWGUIDEDLG_H__E85451FD_0EFB_4213_86D3_F80D149DFD38__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "SIGHTINFO.h"
#include "RoundButton.h"
#include "StartUpDlg.h"
#include "XpButton.h"
#include "XpEdit.h"
/////////////////////////////////////////////////////////////////////////////
// CNewguideDlg dialog
#include <fstream.h>
class CNewguideDlg : public CDialog
{
// Construction
public:
void CGPushDialogFromCenter(CDialog &dlg);
CRoundButton m_Button1;
COLORREF m_clrBackGround;
COLORREF m_clrTxt;
SIGHTINFO m_sightinfo;
friend bool SIGHTINFO::ShowPic(int num);
CStartUpDlg *pDlg;
//CDatabase m_database;
//CSightInfo m_sightinfo;
void Reset(int Vertices=10,int noEdge=0);
int choose(int d[],int n,bool *s,int MaxNum);
void Pathatob(int begin,int end,int **path);
void ShortestLength(int begin ,int end,int **d);
~CNewguideDlg();
void TDijkstra(int u,int *d[],int *path[]);
void Dijkstra(int v,int d[],int path[]);
bool Add(int u,int v,const int &w);
CNewguideDlg(CWnd* pParent = NULL); // standard constructor
//CBitmap Bitmap[10];
// Dialog Data
//{{AFX_DATA(CNewguideDlg)
enum { IDD = IDD_NEWGUIDE_DIALOG };
CComboBox m_cend;
CComboBox m_cbegin;
CComboBox m_sightname;
CString m_showout;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CNewguideDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CNewguideDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnQuery();
afx_msg void OnShowsightinfo();
afx_msg void OnCircle();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnLeave();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int ** a;
int NoEdge;
int e;
int n;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_NEWGUIDEDLG_H__E85451FD_0EFB_4213_86D3_F80D149DFD38__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -