// ComPort.cpp : implementation file // #include "stdafx.h" #include "vahid.h" #include "ComPort.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CComPort dialog CComPort::CComPort(CWnd* pParent /*=NULL*/) : CDialog(CComPort::IDD, pParent) { //{{AFX_DATA_INIT(CComPort) m_nComPort = -1; //}}AFX_DATA_INIT } void CComPort::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CComPort) DDX_Radio(pDX, IDC_COMPORT, m_nComPort); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CComPort, CDialog) //{{AFX_MSG_MAP(CComPort) // NOTE: the ClassWizard will add message map macros here //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CComPort message handlers