92 lines
2.3 KiB
C
92 lines
2.3 KiB
C
|
#if !defined(AFX_C_AGENTCJ_H__2C4EF75C_65DB_44F9_9661_1F4017883B2A__INCLUDED_)
|
|||
|
#define AFX_C_AGENTCJ_H__2C4EF75C_65DB_44F9_9661_1F4017883B2A__INCLUDED_
|
|||
|
|
|||
|
#if _MSC_VER > 1000
|
|||
|
#pragma once
|
|||
|
#endif // _MSC_VER > 1000
|
|||
|
// C_AgentCJ.h : header file
|
|||
|
//
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
// CC_AgentCJ dialog
|
|||
|
|
|||
|
#include "..\public\reportctrl\ReportCtrl.h"
|
|||
|
|
|||
|
#define MENU_AGENTCJ_SEE WM_USER+220
|
|||
|
#define MENU_AGENTCJ_EXPORT WM_USER+221
|
|||
|
#define MENU_AGENTCJ_YS WM_USER+222
|
|||
|
|
|||
|
class CMainFrame;
|
|||
|
class CProcessSocket;
|
|||
|
typedef CTypedPtrList<CPtrList, ANS_Agent_CJData*> CAgentCJData;
|
|||
|
|
|||
|
class CC_AgentCJ : public CDialog
|
|||
|
{
|
|||
|
public:
|
|||
|
CMainFrame * m_pMainFrame;
|
|||
|
CProcessSocket * m_pSocket;
|
|||
|
CImageList m_Image;
|
|||
|
|
|||
|
ANS_Agent_CJData m_SeeData;
|
|||
|
CAgentCJData m_PayData;
|
|||
|
|
|||
|
BOOL m_bRefresh;
|
|||
|
BOOL m_bInit; //<2F>Ƿ<EFBFBD><C7B7>ѳ<EFBFBD>ʼ<EFBFBD><CABC>
|
|||
|
|
|||
|
// Construction
|
|||
|
public:
|
|||
|
long GetCurrentSelected();
|
|||
|
void ShowRMenu();
|
|||
|
void RefreshAgentCJData();
|
|||
|
BOOL ProcessSocket(Socket_Head *pHead);
|
|||
|
BOOL ReShow(BOOL bRefresh=false);
|
|||
|
BOOL ReHide();
|
|||
|
BOOL RefreshInfo();
|
|||
|
void Close();
|
|||
|
CC_AgentCJ(CWnd* pParent = NULL); // standard constructor
|
|||
|
|
|||
|
// Dialog Data
|
|||
|
//{{AFX_DATA(CC_AgentCJ)
|
|||
|
enum { IDD = IDD_C_AGENTCJ };
|
|||
|
CButton m_S_S1;
|
|||
|
CReportCtrl m_wndList;
|
|||
|
CEdit m_E_AgentID;
|
|||
|
CComboBox m_L_Agent;
|
|||
|
COleDateTime m_tBegin;
|
|||
|
COleDateTime m_tEnd;
|
|||
|
int m_lCJType;
|
|||
|
//}}AFX_DATA
|
|||
|
|
|||
|
|
|||
|
// Overrides
|
|||
|
// ClassWizard generated virtual function overrides
|
|||
|
//{{AFX_VIRTUAL(CC_AgentCJ)
|
|||
|
public:
|
|||
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
|||
|
protected:
|
|||
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|||
|
//}}AFX_VIRTUAL
|
|||
|
|
|||
|
// Implementation
|
|||
|
protected:
|
|||
|
|
|||
|
// Generated message map functions
|
|||
|
//{{AFX_MSG(CC_AgentCJ)
|
|||
|
virtual BOOL OnInitDialog();
|
|||
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
|||
|
afx_msg void OnCAgentpayQuery3();
|
|||
|
afx_msg void OnCAgentpayQuery();
|
|||
|
afx_msg void OnDblclkCAgentpayList(NMHDR* pNMHDR, LRESULT* pResult);
|
|||
|
afx_msg void OnRclickCAgentpayList(NMHDR* pNMHDR, LRESULT* pResult);
|
|||
|
//}}AFX_MSG
|
|||
|
afx_msg void On_User_See();
|
|||
|
afx_msg void On_User_YS();
|
|||
|
afx_msg void On_User_Export();
|
|||
|
DECLARE_MESSAGE_MAP()
|
|||
|
};
|
|||
|
|
|||
|
//{{AFX_INSERT_LOCATION}}
|
|||
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|||
|
|
|||
|
#endif // !defined(AFX_C_AGENTCJ_H__2C4EF75C_65DB_44F9_9661_1F4017883B2A__INCLUDED_)
|