📄 aoelrdlg.h
字号:
#if !defined(AFX_AOELRDLG_H__21A7C5CA_B3E3_402A_9239_D54DDF584D78__INCLUDED_)
#define AFX_AOELRDLG_H__21A7C5CA_B3E3_402A_9239_D54DDF584D78__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "JgDlg.h"
// AoelrDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CAoelrDlg dialog
typedef struct edgenode //边结点
{
int adjvex;//下一条边的始结点
int dut;//活动持续时间(权值)
struct edgenode *next; //下一条边
}EdgeNode;
typedef struct //事件结点 邻接表
{
int projectname;//结点名
int id; //入度
EdgeNode *link;
}VexNode;
class CAoelrDlg : public CDialog
{
// Construction
public:
int SearchKeyPath(VexNode *Graphicmap[], int projectnumber, int activenumber, int &totaltime);
int m_totaltime;
CString m_AoeTB;
CString m_AoeGJLJ;
int m_Cs;
int m_judge;//标识是否初始化
//int m_iAoe;//图索引
void CreateGraphic(VexNode* Graphicmap[],int projectnumber,int activenumber);
int m_activenumber;//接收活动数
int m_projectnumber;//接收事件数
VexNode* Graphicmap[100];//邻接表
CJgDlg * m_pJDlg;
CAoelrDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CAoelrDlg)
enum { IDD = IDD_AOELR_DIALOG };
int m_AoeA;
int m_AoeB;
int m_AoeSj;
CString m_AoeGjlj;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAoelrDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CAoelrDlg)
afx_msg void OnButtonAoexx();
afx_msg void OnButtonAoeqj();
afx_msg void OnButtonAoeok1();
afx_msg void OnButtonAoect();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_AOELRDLG_H__21A7C5CA_B3E3_402A_9239_D54DDF584D78__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -