CorpSms/FBill.h
2025-02-27 16:58:16 +08:00

77 lines
1.9 KiB
C++

#if !defined(AFX_FBILL_H__4B041C18_E700_4FBE_AE35_644FF0151140__INCLUDED_)
#define AFX_FBILL_H__4B041C18_E700_4FBE_AE35_644FF0151140__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FBill.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CFBill dialog
#include "..\public\reportctrl\ReportCtrl.h"
class CMainFrame;
class CProcessSocket;
class CFBill : public CDialog
{
protected:
CMainFrame * m_pMainFrame;
CProcessSocket * m_pSocket;
BOOL m_bRefresh; //是否已刷新过数据
BOOL m_bInit; //是否已初始化
CAdoRecordSet m_AdoRS;
long m_lUserID; //需要查询的用户 ID
BOOL m_bGroup; //需要查询用户是否为组
// Construction
public:
BOOL ProcessSocket(Socket_Head_Add *pHead, BYTE *pFrame);
long ProcessSocket(Socket_Head *pHead);
BOOL RefreshInfo();
BOOL ReHide();
BOOL ReShow(BOOL bRefresh=false);
CFBill(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CFBill)
enum { IDD = IDD_BILL };
CEdit m_E_List;
CComboBox m_L_Month;
CButton m_B_Sel;
CButton m_S_S1;
CString m_strUser;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFBill)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CFBill)
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnBillSel();
afx_msg void OnBillQuery();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnBillExport();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FBILL_H__4B041C18_E700_4FBE_AE35_644FF0151140__INCLUDED_)