⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 childview.h

📁 一个完整的彩票软件的源代码
💻 H
字号:
// ChildView.h : interface of the CChildView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_CHILDVIEW_H__94663162_DE03_4EFA_81EA_24563E831E13__INCLUDED_)
#define AFX_CHILDVIEW_H__94663162_DE03_4EFA_81EA_24563E831E13__INCLUDED_

#include "DlgConntinuedNumber.h"	// Added by ClassView
#include "DlgFrequency.h"	// Added by ClassView
#include "DlgEvenOdd.h"	// Added by ClassView
#include "DlgSegment.h"	// Added by ClassView
#include "DlgRelation.h"	// Added by ClassView
#include "DlgLottery.h"	// Added by ClassView
#include "CurveView.h"	// Added by ClassView
#include "Lottery.h"	// Added by ClassView
#include "DlgSequency.h"	// Added by ClassView
#include "DlgSum.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CChildView window

class CChildView : public CWnd
{
// Construction
public:
	CChildView();

// Attributes
public:
	int m_nMin,m_nMax;
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CChildView)
	protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
public:
	double m_dFreq[30];
	SEQUENCY m_seq[MAX_SEQUENCY_NUMBER];
	FREQUENCY m_feq[MAX_SEQUENCY_NUMBER];
	void FillSequencyArray();
	UINT C_N_M(int n,int m);
	CDlgSum m_dlgSum;
	BOOL m_bShowGraph;
	void ShowGraphList(BOOL bShow=FALSE);
	CListCtrl m_GraphList;
	CDlgSequency m_dlgSeq;
	FREQUENCY * m_pFreq;
	CCurveView m_CurveView;
	CListCtrl m_listConntinue;
	void ConntinuedNumber(int iStart, int iEnd, CListCtrl *pListCtrl);
	CListCtrl m_listRelation;
	CListCtrl m_listFrequency;
	UINT m_iWidth;
	void RelationStatistics(int iStart, int iEnd, CListCtrl *pListCtrl);
	void FrequencyStatistics(int iStart, int iEnd, CListCtrl *pListCtrl,CListBox *pListBox=NULL);
	void FrequencyStatistics(int iStart, int order);
	void FrequencyStatistics(int iStart, int iEnd,FREQUENCY *freq);
	void EvenOddStatistics(int iStart, int iEnd, CListBox *pListBox);
	void SegmentStatistics(int iBegin,int iEnd,CListBox * pListBox);
	int m_iEnd;
	int m_iStart;
	CDlgLottery m_dlgLottery;
	CDlgRelation m_dlgRel;
	CDlgSegment m_dlgSeg;
	CDlgConntinuedNumber m_dlgConn;
	CDlgEvenOdd m_dlgEvenOdd;
	CArray<LOTTERY,LOTTERY> m_array;
	CDlgFrequency m_dlgFre;
	void LoadLotteryNumber(BOOL bFromFile=TRUE);
	CListCtrl m_list;
	virtual ~CChildView();

	// Generated message map functions
protected:
	//{{AFX_MSG(CChildView)
	afx_msg void OnPaint();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnFrequencyStatistics();
	afx_msg void OnEvenOddStatistics();
	afx_msg void OnConntinuedNumber();
	afx_msg void OnSegmentStatistics();
	afx_msg void OnRelationStatistics();
	afx_msg void OnLottery();
	afx_msg void OnListRClick( NMHDR * pNotifyStruct, LRESULT * result );
	afx_msg void OnListClick( NMHDR * pNotifyStruct, LRESULT * result );
	afx_msg void OnListKeydown( NMHDR * pNotifyStruct, LRESULT * result );
	afx_msg void OnSetupStatisticsNumber();
	afx_msg void OnShowCurveView();
	afx_msg void OnShowSequency();
	afx_msg void OnShowGraphList();
	afx_msg void OnUpdateShowGraphList(CCmdUI* pCmdUI);
	afx_msg void OnShowSumWindow();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CHILDVIEW_H__94663162_DE03_4EFA_81EA_24563E831E13__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -