#if !defined(AFX_DLGSELECTBASE_H__C7751AC6_970A_11D3_9E49_00C026EE2281__INCLUDED_)
#define AFX_DLGSELECTBASE_H__C7751AC6_970A_11D3_9E49_00C026EE2281__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgSelectBase.h : header file
//
#include "resource.h"
#include <apl_gui.h>

struct ElBaseList{
	ElBaseList(){
	//	basename=new CString();
	//	basedesc=new CString();
	}
	virtual ~ElBaseList(){
	//	delete basename;
	//	delete basedesc;
	}
	CString basename;
	CString basedesc;
};

/////////////////////////////////////////////////////////////////////////////
// CDlgSelectBase dialog

class CDlgSelectBase : public CaplResizableDialog
{
// Construction
public:
	int m_num_base;
	int m_num_base_ext;
	// bool m_lang_england; - убрано по просьбе Лобанова. Перевод будет выполняться новым механизмом через CaplTranslate.
	CDlgSelectBase(CWnd* pParent = NULL);   // standard constructor
	CStringArray *m_BaseList;

// Dialog Data
	//{{AFX_DATA(CDlgSelectBase)
	enum { IDD = IDD_SELECT_BASE };
	CaplButton	m_BtnOk;
	CaplButton	m_BtnCancel;
	CListCtrl	m_ListBase;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgSelectBase)
	virtual BOOL OnInitDialog();
	afx_msg void OnCancelMode();
	afx_msg void OnItemchangedListBase(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDblclkListBase(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DLGSELECTBASE_H__C7751AC6_970A_11D3_9E49_00C026EE2281__INCLUDED_)
