#if !defined(AFX_DLGTUNECONNECTION_H__8A07121C_4E80_41EC_9647_053BFE66FF89__INCLUDED_)
#define AFX_DLGTUNECONNECTION_H__8A07121C_4E80_41EC_9647_053BFE66FF89__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgTuneConnection.h : header file
//
#include <apl_gui.h>
#include <afxwin.h>

class CaplNetStepData;

/////////////////////////////////////////////////////////////////////////////
// CDlgTuneConnection dialog

class CDlgTuneConnection : public CaplTranslateDialog
{
// Construction
public:
	CDlgTuneConnection(CWnd* pParent = NULL);   // standard constructor
	CaplNetStepData *m_data;
	CArray<CString,CString> *m_missed_names;
	CString	m_Proxy;

	bool m_bReadOnly;

// Dialog Data
	//{{AFX_DATA(CDlgTuneConnection)
	enum { IDD = IDD_DLG_TUNE_CONNECTION };
	CStatic	m_StaticPort;
	CStatic	m_StaticName;
	CStatic	m_StaticDefUser;
	CStatic	m_StaticComp;
	CStatic	m_StaticBD;
	CStatic	m_StaticProtocol;
	CStatic	m_StaticProxy;
	CButton	m_CtrlPortDef;
	CaplButton	m_BtnOk;
	CaplButton	m_BtnCancel;
	CEdit	m_CtrlPortEdit;
	CString	m_BaseName;
	CString	m_CompName;
	CString	m_DefUserName;
	BOOL	m_ChkPortDef;
	int		m_PortEdit;
	CString	m_NameConnect;
	int		m_Protocol;
	CComboBox m_CtrlProtocol;
	CComboBox m_CtrlProxy;
	//}}AFX_DATA

	//CStringArray m_proxy_list;

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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgTuneConnection)
	afx_msg void OnCompSelect();
	afx_msg void OnPortDef();
	afx_msg void OnBasenameSelect();
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnCbnSelchangeComboProtocol();
	CEdit m_CtrlProxyName;
	CString m_StrProxyName;
	CEdit m_CtrlProxyPort;
	CString m_StrProxyPort;
	CEdit m_NameConnectCtrl;
	CEdit m_CompNameCtrl;
	CEdit m_BaseNameCtrl;
	CEdit m_DefUserNameCtrl;
	CButton m_CompSelectBtn;
	CButton m_BaseNameSelectBtn;
};

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

#endif // !defined(AFX_DLGTUNECONNECTION_H__8A07121C_4E80_41EC_9647_053BFE66FF89__INCLUDED_)
