📄 dlglottery.h
字号:
#if !defined(AFX_DLGLOTTERY_H__492AF8A7_DCF0_48F0_8A92_36AA9B86DB1A__INCLUDED_)
#define AFX_DLGLOTTERY_H__492AF8A7_DCF0_48F0_8A92_36AA9B86DB1A__INCLUDED_
#include "afxtempl.h"
#include "Collection.h"
#include "GraphStatic.h"
#include "NumberEdit.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgLottery.h : header file
//
#include "ColorProgress.h"
/////////////////////////////////////////////////////////////////////////////
// CDlgLottery dialog
class CDlgLottery : public CDialog
{
// Construction
public:
int m_nBonus[9];
CArray<BYTE,BYTE> m_fushiArray;
CArray<LOTTERY,LOTTERY> m_array;
UINT c_n_m(int n,int m);
BOOL ForceVerifyLotteryNumber(LOTTERY *plot);
void InvalidateAllEdit();
void ClearAllEdit();
BOOL m_boolContinue;
CTime m_time1;
BOOL VerifyLotteryOfGraph(CGraphStatic*pGraph,LOTTERY *plot);
BOOL VerifyLotteryKillerFilter(LOTTERY *plot,BOOL bCheck=TRUE);
int GenerateOneLottery(LOTTERY *plot);
void GetAllKindOfValueAndFillTheListBox(LOTTERY *plot);
BOOL VerifyLotteryNumber(LOTTERY *plot);
CString ProbilityCaculate();
CDlgLottery(CWnd* pParent = NULL); // standard constructor
CArray<LOTTERY,LOTTERY>* m_pArray;
// Dialog Data
//{{AFX_DATA(CDlgLottery)
enum { IDD = IDD_DIALOG_LOTTERY };
CColorProgress m_progress2;
CListBox m_list_permu2;
CListBox m_list_permu;
CNumberEdit m_edit6;
CNumberEdit m_edit5;
CNumberEdit m_edit4;
CNumberEdit m_edit3;
CNumberEdit m_edit2;
CNumberEdit m_edit1;
CNumberEdit m_edit0;
CColorProgress m_progress;
CSpinButtonCtrl m_spinFilter;
CGraphStatic m_graph0;
CGraphStatic m_graph4;
CGraphStatic m_graph3;
CGraphStatic m_graph2;
CGraphStatic m_graph1;
CListBox m_lott_list;
CListBox m_hit_list;
CComboBox m_combo;
CString m_szProbility;
UINT m_uSum1;
UINT m_uSum2;
UINT m_uAc1;
UINT m_uAc2;
float m_fDiff;
float m_fRelation;
double m_dFS2;
double m_dFilterFactor;
double m_dFS1;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgLottery)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
//oid FillDiffValidList();
// Generated message map functions
//{{AFX_MSG(CDlgLottery)
virtual BOOL OnInitDialog();
afx_msg void OnButtonGenerate();
afx_msg void OnButtonRecon();
afx_msg void OnSelchangeListLotteryNumber();
afx_msg void OnRelationCheck1();
afx_msg void OnACCheck2();
afx_msg void OnSumCheck3();
afx_msg void OnNotifyGraphAction(WPARAM wp,LPARAM lp);
afx_msg void OnCheck7Of_FS();
afx_msg void OnCheck8Of_FilterFactor();
afx_msg void OnDeltaposSpinFilter(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnNotifyOfRadio(UINT id);
afx_msg void OnButtonPermutation();
afx_msg void OnButtonGenerate2();
afx_msg void OnSelchangeListPermutation2();
afx_msg void OnButtonCopy();
afx_msg void OnButtonFushi();
afx_msg void OnButtonFushi2();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
BOOL m_bStop;
void DoEvents();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGLOTTERY_H__492AF8A7_DCF0_48F0_8A92_36AA9B86DB1A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -