AgentManager/C_MyPay.h
2025-01-22 15:45:17 +08:00

82 lines
2.0 KiB
C++

#if !defined(AFX_C_MY_PAY_H__A8F1376E_EF17_4CC3_A288_E2FA7C1BBDB0__INCLUDED_)
#define AFX_C_MY_PAY_H__A8F1376E_EF17_4CC3_A288_E2FA7C1BBDB0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// C_MyPay.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CC_MyPay dialog
#include "..\public\reportctrl\ReportCtrl.h"
#include "DLG_Process.h"
#include "TabDlg.h"
#define MENU_MYPAY_EXPORT WM_USER+221
class CMainFrame;
class CProcessSocket;
class CC_MyPay : public CDialog
{
protected:
CMainFrame * m_pMainFrame;
CProcessSocket * m_pSocket;
CImageList m_Image;
CCorpName m_Corp;
BOOL m_bRefresh;
BOOL m_bInit; //ÊÇ·ñÒѳõʼ»¯
DLG_Process m_Process;
BOOL m_bProcess;
// Construction
public:
void ShowRMenu();
void Close();
BOOL ProcessSocket(Socket_Head *pHead);
BOOL ProcessSocket(Socket_Head_Add *pHead, BYTE *pFrame);
BOOL RefreshInfo();
BOOL ReHide();
BOOL ReShow(BOOL bRefresh=false);
CC_MyPay(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CC_MyPay)
enum { IDD = IDD_C_MYPAY };
CEdit m_E_AgentName;
CButton m_S_S1;
CReportCtrl m_wndList;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CC_MyPay)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CC_MyPay)
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnCPayQuery();
//}}AFX_MSG
afx_msg void On_User_Export();
DECLARE_MESSAGE_MAP()
public:
int m_lQueryType;
afx_msg void OnNMRClickCPayList(NMHDR *pNMHDR, LRESULT *pResult);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_C_MY_PAY_H__A8F1376E_EF17_4CC3_A288_E2FA7C1BBDB0__INCLUDED_)