#pragma once #include "afxdialogex.h" // DLG_Corp_Extension 对话框 class DLG_Corp_Extension : public CDialogEx { public: long m_lCorpID; CString m_strCorpName2; CString m_strYWYName2; SYSTEMTIME m_tOvrTime; SYSTEMTIME m_tNewOvrTime; long m_lType; DECLARE_DYNAMIC(DLG_Corp_Extension) public: DLG_Corp_Extension(CWnd* pParent = nullptr); // 标准构造函数 virtual ~DLG_Corp_Extension(); // 对话框数据 #ifdef AFX_DESIGN_TIME enum { IDD = IDD_CORP_EXTENSION }; #endif protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 DECLARE_MESSAGE_MAP() public: void SetData(long lCorpID,CString strCorpName, CString strYWYName, SYSTEMTIME tOvrTime, long lType); virtual BOOL OnInitDialog(); SYSTEMTIME GetData(); CString m_strCorpName; CString m_strDuration; CString m_strExpiry; CString m_S1; CString m_strYWY; COleDateTime m_tNewExpiry; afx_msg void OnBnClickedOk(); CComboBox m_L_Duration; CString m_strBZ; afx_msg void OnSelchangeCorpExtensionDuration(); CString m_strCorpID; };