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

📄 yilufadlg.h

📁 VC编写的彩票分析软件源码
💻 H
字号:
// yilufaDlg.h : header file
//

#if !defined(AFX_YILUFADLG_H__AADBB6A7_22E5_11D7_9E58_444553540000__INCLUDED_)
#define AFX_YILUFADLG_H__AADBB6A7_22E5_11D7_9E58_444553540000__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
///////////////////
#include "3DTextButton.h"
#define TM_STEP WM_USER+1
UINT FindLaw(LPVOID);
DWORD WINAPI ShowStep(LPVOID);
int ComNumber(int,int);
UINT MaxNumber(UINT,UINT,UINT);
UINT MinNumber(UINT,UINT,UINT);
void DrawRound(CDC* dc,int a,int b,int r);
/////////////////////////////////////////////////////////////////////////////
// CYilufaDlg dialog
struct RecordResult
{
	UINT xy[3][2];
	RecordResult* r_Next;
	RecordResult* l_Next;
};


class CYilufaDlg : public CDialog
{
// Construction
public:
	void ContrlStop();
	UINT AddShortBeginPiont();
	UINT SetShortBeginPiont(UINT k);
	UINT GetShortBeginPiont();
	void RollTwoToTwo();
	void CmpCombination(UINT SoFiRa,UINT SoFiLi,UINT SoSeRa,UINT SoSeLi,UINT DeRa,UINT DeLi);
	BOOL bTwoToTwo;
	void FTwoToTwo();
	void FThreeToTwo();
	void FTwoToOne();
	void PushOutLaw();
	void ReUpdate();
	void RollThreeToTwoView();
	void RollTwoToOneView();
	char ch_CurrentType;
	void OutDataMap(UINT SoFiRa,UINT SoFiLi,UINT SoSeRa,UINT SoSeLi,UINT SoThrRa,UINT SoThrLi,UINT DeRa,UINT DeLi,UINT mStepNumber,UINT Step);
	void CmpCombination(UINT SoFiRa,UINT SoFiLi,UINT SoSeRa,UINT SoSeLi,UINT SoThrRa,UINT SoThrLi,UINT DeRa,UINT DeLi);


    ////////////////
	UINT m_CurrentLaw;
	int MoveY;
	void RollView();
	void RollShow();
	BOOL bModifyFlag;
	BOOL bAddFlag;
	BOOL LoadData();
	BOOL SaveData();
	BOOL m_bStopFlag;
	DWORD dw;
	HANDLE pThread1;
	BOOL bFinishFlag;
	CWinThread* pThread;
	BOOL b_ExitFlag;
	UINT gls;
    int Coordinate[5][2];
    int BaseX;
    int BaseY;
    UINT OutLaw[100][13];
	/////////////////////////
    UINT Number[200][6];
    RecordResult* Record;
    UINT m_OutNumber[4][12];
	UINT CurrentPiont;
	UINT BeginPiont;
	UINT EndPiont;
	UINT EmptyPiont;
	////////////////////////////
	void OutDataMap(UINT OutSoFiRa,UINT OutSoFiLi,UINT OutSoSeRa,UINT OutSoSeLi,UINT OutDeRa,UINT OutDeLi,UINT Step,UINT StepLong);
	
	UINT CmpNumber(UINT SoureFirstRank,UINT SoureFirstLine,UINT SoureSecondRank,UINT SoureSecondLine,UINT DestationRank,UINT DestationLine,UINT* Step,LPVOID pParam);
	CYilufaDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CYilufaDlg)
	enum { IDD = IDD_YILUFA_DIALOG };
	CScrollBar	m_ScrollB;
	C3DTextButton	m_Ok;
	C3DTextButton	m_ShowLastResult;
	C3DTextButton	m_ShowLastResultButton;
	C3DTextButton	m_ToSaveData;
	C3DTextButton	m_PriButton;
	C3DTextButton	m_NextButton;
	C3DTextButton	m_ModifyButton;
	C3DTextButton	m_AddNew;
	CProgressCtrl	m_CmpProgress;
	C3DTextButton	m_ToWork;
	C3DTextButton	m_StopButton;
	CProgressCtrl	m_Progress;
	UINT	m_11;
	UINT	m_12;
	UINT	m_13;
	UINT	m_14;
	UINT	m_21;
	UINT	m_22;
	UINT	m_23;
	UINT	m_24;
	UINT	m_31;
	UINT	m_32;
	UINT	m_33;
	UINT	m_34;
	UINT	m_41;
	UINT	m_42;
	UINT	m_43;
	UINT	m_44;
	UINT	m_51;
	UINT	m_52;
	UINT	m_53;
	UINT	m_54;
	UINT	m_61;
	UINT	m_62;
	UINT	m_63;
	UINT	m_64;
	UINT	m_71;
	UINT	m_72;
	UINT	m_73;
	UINT	m_74;
	UINT	m_81;
	UINT	m_82;
	UINT	m_83;
	UINT	m_84;
	UINT	m_StepLong;
	BOOL	m_ZhanTin;
	UINT	m_NewHead;
	UINT	m_NewLast;
	UINT	m_NewHundred;
	UINT	m_NewNumber;
	UINT	m_NewTen;
	UINT	m_LawLong;
	BOOL	m_bMoveFlag;
	BOOL	bLogarithmicFlag;
	BOOL	bCombinationFlag;
	BOOL	bOneFlag;
	CString	m_Infromation;
	BOOL	bLongOrShort;
	CString	m_Rock;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CYilufaDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	UINT mShortBeginPiont;

	// Generated message map functions
	//{{AFX_MSG(CYilufaDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnTowork();
	afx_msg void OnStop();
	afx_msg void OnAddnew();
	afx_msg void OnTosavedata();
	afx_msg void OnShowlastresult();
	afx_msg void OnZantin();
	afx_msg void OnChangeNewnumber();
	virtual void OnOK();
	afx_msg void OnModifyData();
	afx_msg void OnKillfocusNewnumber();
	afx_msg void OnChangeNewhead();
	afx_msg void OnChangeNewhundred();
	afx_msg void OnChangeNewten();
	afx_msg void OnChangeNewl();
	afx_msg void OnPrebutton();
	afx_msg void OnNextbutton();
	afx_msg void OnMovearea();
	afx_msg void OnShowlawbutton();
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnLogarithmic();
	afx_msg void OnKillfocusSteplong();
	afx_msg void OnKillfocusLawlong();
	afx_msg void OnCombination();
	afx_msg void OnOneflag();
	afx_msg void OnLongorshort();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////
// CResult dialog

class CResult : public CDialog
{
// Construction
public:
	CResult(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CResult)
	enum { IDD = IDD_DIALOG1 };
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CResult)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CResult)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CLawOutDialog dialog

class CLawOutDialog : public CDialog
{
// Construction
public:
	CLawOutDialog(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CLawOutDialog)
	enum { IDD = IDD_OUTLAWDIALOG };
	UINT	m_OutLawNumber;
	CString	m_OutMessage;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLawOutDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CLawOutDialog)
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_YILUFADLG_H__AADBB6A7_22E5_11D7_9E58_444553540000__INCLUDED_)

⌨️ 快捷键说明

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