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

89 lines
2.1 KiB
C++

#if !defined(AFX_C_PAY_H__A8F1376E_EF17_4CC3_A288_E2FA7C1BBDB0__INCLUDED_)
#define AFX_C_PAY_H__A8F1376E_EF17_4CC3_A288_E2FA7C1BBDB0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// C_Pay.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CC_Pay dialog
#include "..\public\reportctrl\ReportCtrl.h"
#include "DLG_Process.h"
#include "TabDlg.h"
#define MENU_PAY_EXPORT WM_USER+221
class CMainFrame;
class CProcessSocket;
class CC_Pay : 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:
BOOL SetRefresh(BOOL bRefresh=false);
void Close();
BOOL ProcessSocket(Socket_Head *pHead);
BOOL ProcessSocket(Socket_Head_Add *pHead, BYTE *pFrame);
BOOL RefreshInfo();
BOOL ReHide();
BOOL ReShow(BOOL bRefresh=false);
void ShowRMenu();
CC_Pay(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CC_Pay)
enum { IDD = IDD_C_PAY };
CButton m_S_S1;
CReportCtrl m_wndList;
CEdit m_E_CorpID;
CComboBox m_L_Corp;
int m_lCorp;
COleDateTime m_tBegin;
COleDateTime m_tEnd;
int m_lPayType;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CC_Pay)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CC_Pay)
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnCPayQuery();
afx_msg void OnCPayQuery2();
//}}AFX_MSG
afx_msg void On_User_Export();
DECLARE_MESSAGE_MAP()
public:
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_PAY_H__A8F1376E_EF17_4CC3_A288_E2FA7C1BBDB0__INCLUDED_)