www.pudn.com > 8-9cha.rar > PubReportDlg.h


// PubReportDlg.h : header file 
// 
//{{AFX_INCLUDES() 
 
#include "crystalreportviewer11.h" 
//}}AFX_INCLUDES 
 
#if !defined(AFX_PUBREPORTDLG_H__C3D5F2C1_8AEF_4FEA_9EF4_A501B61D2317__INCLUDED_) 
#define AFX_PUBREPORTDLG_H__C3D5F2C1_8AEF_4FEA_9EF4_A501B61D2317__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CPubReportDlg dialog 
 
class CPubReportDlg : public CDialog 
{ 
// Construction 
public: 
	CPubReportDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CPubReportDlg) 
	enum { IDD = IDD_PUBREPORT_DIALOG }; 
	CButton	m_btnType; 
	CButton	m_btnState; 
	CButton	m_CheckTitle; 
	CButton	m_CheckAuthor; 
	CComboBox	m_ComboType; 
	CComboBox	m_ComboState; 
	BOOL	m_bAuthor; 
	BOOL	m_bTitle; 
	CString	m_strState; 
	CCrystalReportViewer11	m_Viewer; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CPubReportDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	void InitCombo(); 
	void InitReport(); 
	HICON m_hIcon; 
	IApplicationPtr m_pApp; 
	IReportPtr m_pReport; 
	// Generated message map functions 
	//{{AFX_MSG(CPubReportDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnCheckAuthor(); 
	afx_msg void OnCheckTitle(); 
	afx_msg void OnButtonState(); 
	afx_msg void OnButtonType(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_PUBREPORTDLG_H__C3D5F2C1_8AEF_4FEA_9EF4_A501B61D2317__INCLUDED_)