#pragma once #include "resource.h" #include "uiiado.h" #include "afxcmn.h" class CGXYCDlg : public CDialog { DECLARE_DYNAMIC(CGXYCDlg) public: CGXYCDlg(CWnd* pParent = NULL); virtual ~CGXYCDlg(); enum { IDD = IDD_GXYC_DLG }; void GetPipeData(double& dOD,double& dDn,double& dt,int& nWeldType); protected: virtual void DoDataExchange(CDataExchange* pDX); afx_msg void OnBnClickedOk(); DECLARE_MESSAGE_MAP() public: virtual BOOL OnInitDialog(); void InitPipeList(); public: int m_nRow; int m_nCol; double m_dHoleD; int m_nWeldType; double m_dOD,m_dDn,m_dt; CUIISQLiteServer m_dbSQLite; CListCtrl m_wndPipeList; };