www.pudn.com > 6-7cha.rar > DlgOrder.h


//{{AFX_INCLUDES() 
#include "mschart.h" 
#include "adodc.h" 
//}}AFX_INCLUDES 
#if !defined(AFX_DLGORDER_H__8DB12BA6_B432_4D6A_BF79_30856C371247__INCLUDED_) 
#define AFX_DLGORDER_H__8DB12BA6_B432_4D6A_BF79_30856C371247__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// DlgOrder.h : header file 
// 
#include "VcPlot.h" 
#include "VcAxis.h" 
#include "VcValueScale.h" 
#include "VcSeriesCollection.h" 
#include "VcSeries.h" 
#include "VcPen.h" 
#include "VcCategoryScale.h" 
#include "VcColor.h" 
#include "VcDataGrid.h" 
#include "VcBackdrop.h" 
#include "VcFill.h" 
#include "VcBrush.h" 
#include "VcDataPoints.h" 
#include "VcDataPoint.h" 
#include "VcDataPointLabel.h" 
#include "VcAxisTitle.h" 
///////////////////////////////////////////////////////////////////////////// 
// CDlgOrder dialog 
 
class CDlgOrder : public CDialog 
{ 
// Construction 
public: 
	CDlgOrder(CWnd* pParent = NULL);   // standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CDlgOrder) 
	enum { IDD = IDD_DIALOG_ORDER }; 
	CMSChart	m_chartOrder; 
	CAdodc	m_adodcOrder; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDlgOrder) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	void GetData(); 
	void DrawChart(); 
	void InitChart(); 
	int m_numOfOrder[9][3]; 
	// Generated message map functions 
	//{{AFX_MSG(CDlgOrder) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnButtonPie(); 
	afx_msg void OnButtonBar(); 
	afx_msg void OnButtonLine(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DLGORDER_H__8DB12BA6_B432_4D6A_BF79_30856C371247__INCLUDED_)