X_KURS_LIPINDLG_H__FFEC63D9_17E7_4E43_805B_75F68CE9E55F__INCLUDED_ В
# if _MSC_VER> 1000
# pragma once
# endif// _MSC_VER> 1000
// CKurs_LipinDlg dialog
class CSetting;
class CKurs_LipinDlg: public CDialog
{
// Construction
public:
CKurs_LipinDlg (CWnd * pParent = NULL) ;//standard constructor
В
int koord [29] [2], x0, y0;
bool flag_select [29];
bool flag_draw;
int count_selected, n;
int begin_point;
bool flag_Bpoint;
int ** table;
int tableAllCity [29] [29];
unsigned int * min_path;
int * sel_city;
CString name_city [29];
В
CFont myFont;
void CKurs_LipinDlg :: recursiv (bool flag [], unsigned int cur_path [], int j);
// Dialog Data ​​p>
// {{AFX_DATA (CKurs_LipinDlg)
enum {IDD = IDD_KURS_LIPIN_DIALOG};
CListBoxm_list1;
CStaticm_label;
CStringm_len;
//}} AFX_DATA
В
// ClassWizard generated virtual function overrides
// {{AFX_VIRTUAL (CKurs_LipinDlg)
protected:
virtual void DoDataExchange (CDataExchange * pDX) ;//DDX/DDV support
//}} AFX_VIRTUAL
В
// Implementation
protected:
HICON m_hIcon;
В
// Generated message map functions
// {{AFX_MSG (CKurs_LipinDlg)
virtual BOOL OnInitDialog ();
afx_msg void OnSysCommand (UINT nID, LPARAM lParam);
afx_msg void OnPaint ();
afx_msg HCURSOR OnQueryDragIcon ();
afx_msg void OnLButtonDown (UINT nFlags, CPoint point);
afx_msg void OnButton2 ();
afx_msg void OnButton1 ();
virtual void OnOK ();
afx_msg void OnButton3 ();
afx_msg void OnButton4 ();
//}} AFX_MSG
DECLARE_MESSAGE_MAP ()
};
В
// {{AFX_INSERT_LOCATION}}
// Microsoft Visual C + + will insert additional declarations immediately before the previous line.
В
# endif// ! Defined (AFX_KURS_LIPINDLG_H__FFEC63D9_17E7_4E43_805B_75F68CE9E55F__INCLUDED_)
В В В В В
// Kurs_LipinDlg.cpp: implementation file
//
# include "stdafx.h"
# include "Kurs_Lipin.h"
# include "Kurs_LipinDlg...