www.pudn.com > IntegrateCrystalReports_src.zip > ReportCRDesigner.h, change:2005-10-05,size:1926b


//{{AFX_INCLUDES() 
#include "crystalreportviewer10.h" 
//}}AFX_INCLUDES 
#if !defined(AFX_CReportCRDesigner_H__0F2AA1DF_031A_4A55_9A0A_6B368BAD9B91__INCLUDED_) 
#define AFX_CReportCRDesigner_H__0F2AA1DF_031A_4A55_9A0A_6B368BAD9B91__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// CReportCRDesigner.h : header file 
// 
#include "crdesignerctrl.h" 
#include "crystalreportviewer10.h" 
#import "D:\Program Files\\Common Files\\Crystal Decisions\\2.5\\bin\\craxdrt.dll" no_namespace 
///////////////////////////////////////////////////////////////////////////// 
// CReportCRDesigner dialog 
 
class CReportCRDesigner : public CDialog 
{ 
// Construction 
public: 
	CReportCRDesigner(CWnd* pParent = NULL);   // standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CReportCRDesigner) 
	enum { IDD = IDD_FORMVIEW_CRDESIGN }; 
	CButton	pBtSaveReport; 
	CButton	pBtDesigner; 
	CButton	pBtPrivew; 
	CButton	pBtOpenReport; 
	CButton	pBtNewReport; 
	CCRDesignerCtrl	pCtrlReportDesigner; 
	CCrystalReportViewer10	pCtrlReportViewer; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CReportCRDesigner) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	IApplicationPtr  m_Application; 
	IReportPtr  m_Report; 
	void InitReport(BOOL bNew); 
	// Generated message map functions 
	//{{AFX_MSG(CReportCRDesigner) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnNewReport(); 
	afx_msg void OnOpenReport(); 
	afx_msg void OnSaveReport(); 
	afx_msg void OnPreview(); 
	afx_msg void OnShowDesigner(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CReportCRDesigner_H__0F2AA1DF_031A_4A55_9A0A_6B368BAD9B91__INCLUDED_)