SmsManager/DLG_Corp_FP.h
2025-01-14 10:46:18 +08:00

78 lines
2.2 KiB
C++

#if !defined(AFX_DLG_CORP_FP_H__9B96B154_D009_474B_AC94_7F49BB8B9036__INCLUDED_)
#define AFX_DLG_CORP_FP_H__9B96B154_D009_474B_AC94_7F49BB8B9036__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DLG_Corp_FP.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// DLG_Corp_FP dialog
#include "..\public\reportctrl\ReportCtrl.h"
typedef CTypedPtrList<CPtrList, ANS_Corp_FPData*> CFP;
class DLG_Corp_LXR_SF;
class DLG_Corp_FP : public CDialog
{
public:
CFP m_FP;
long m_lModifyCount;
long m_lCorpType;
DLG_Corp_LXR_SF * m_pSFDlg;
protected:
CImageList m_Image;
long m_lLXRCount;
ANS_Corp_FP m_FPReq;
ANS_Corp_FPData * m_pLXRData;
ANS_Corp_LXR_YWYData * m_pLXR_YWYData;
// Construction
public:
BOOL ProcessSocket(Socket_Head_Add *pHead, BYTE *pFrame);
long GetCurrentSelected();
void SetParam(ANS_Corp_FP LXR , ANS_Corp_FPData *pLXRData , long lCorpType, ANS_Corp_LXR_YWYData * pYWYData);
DLG_Corp_FP(CWnd* pParent = NULL); // standard constructor
static CString GetFPType(long lType);
static CString GetFPType2(long lType);
// Dialog Data
//{{AFX_DATA(DLG_Corp_FP)
enum { IDD = IDD_CORP_FP };
CReportCtrl m_wndList;
CString m_strCorpName;
CString m_strSMSNum;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(DLG_Corp_FP)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(DLG_Corp_FP)
virtual BOOL OnInitDialog();
afx_msg void OnDblclkCorpLxrList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnCorpLxrModify();
afx_msg void OnCorpLxrAdd();
afx_msg void OnCorpLxrDel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
CString m_strCorpAddress;
CString m_strCorpPostCode;
afx_msg void OnBnClickedOk();
CString m_strAgentName;
CString m_strYWYName;
afx_msg void OnBnClickedCorpFpSf();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG_CORP_FP_H__9B96B154_D009_474B_AC94_7F49BB8B9036__INCLUDED_)