#if !defined(AFX_OPENBOARDPORTDLG_H__8A71CC63_6A73_11D2_BB47_00805F9E3135__INCLUDED_)
#define AFX_OPENBOARDPORTDLG_H__8A71CC63_6A73_11D2_BB47_00805F9E3135__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// OpenBoardPortDlg.h : header file
//

#include "Adapter.h"

/////////////////////////////////////////////////////////////////////////////
// COpenBoardPortDlg dialog

class COpenBoardPortDlg : public CDialog
{
// Construction
public:
	COpenBoardPortDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(COpenBoardPortDlg)
	enum { IDD = IDD_OPEN_BOARDPORT };
	CComboBox	m_ctrlBoardCombo;
	CListCtrl	m_ctrlPortList;
	CButton	m_ctrlOpenButton;
	CString	m_strBoard;
	//}}AFX_DATA

   int m_nPort;
   CString m_strPort;

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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(COpenBoardPortDlg)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeBoardCombo();
	afx_msg void OnItemchangedPortList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDblclkPortList(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

   CImageList m_ImageList;

   CAdapter m_Adapter;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_OPENBOARDPORTDLG_H__8A71CC63_6A73_11D2_BB47_00805F9E3135__INCLUDED_)
