statdlg.h
来自「一个关于怎样模拟双色球彩票的代码 非常好的哦~~ 直接在VC++6 可编译」· C头文件 代码 · 共 96 行
H
96 行
#if !defined(AFX_STATDLG_H__30EFE7F3_98E5_44F9_9595_81FD89E36BB2__INCLUDED_)
#define AFX_STATDLG_H__30EFE7F3_98E5_44F9_9595_81FD89E36BB2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StatDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CStatDlg dialog
class CStatDlg : public CDialog
{
// Construction
public:
CStatDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CStatDlg)
enum { IDD = IDD_STAT_DIALOG };
CButton m_chkRedBlueBall;
CComboBox m_cmbBlueBall;
CComboBox m_cmbRedBall;
CString m_csIssue;
CString m_csRedBall1;
CString m_csRedBall2;
CString m_csRedBall3;
CString m_csRedBall4;
CString m_csRedBall5;
CString m_csRedBall6;
CString m_csFrom;
CString m_csTo;
CString m_csRedBlueBallIni;
CString m_csBlueBall;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStatDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CStatDlg)
afx_msg void OnButtonSave();
afx_msg void OnButtonShowWinPrize();
afx_msg void OnButtonBrowse();
afx_msg void OnButtonStatSingleRedBall();
afx_msg void OnButtonStatSingleBlueBall();
afx_msg void OnCheckRedBlueBall();
afx_msg void OnButtonStatSelectedRedBlueBall();
afx_msg void OnButtonStatAllBall();
afx_msg void OnButtonQuit();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CStdioFile myFile;
CFileException Fe;
CStringArray m_csarRedBall;
CStringArray m_csarSpecifiedRedBlueBall;
CString m_csRedBallTimes;
CString m_csBlueBallTimes;
CString m_csRedBallFlag;
CString m_csBlueBallFlag;
bool m_bIsAllStat;
private:
bool CheckRedBallValidity(CString csRedBall, UINT uRedBallID);
bool CheckBlueBallValidity(CString csBlueBall);
bool CheckIssue();
bool CheckSixRedBall();
bool CheckOneBlueBall();
void GetIssue(CStringArray& csarIssue);
void GetRedBallString(CStringArray& csarRedBallString);
void GetAllRedBall(CStringArray& csarRedBallString,CStringArray& csarRedBall);
void GetAllBlueBall(CStringArray& csarBlueBall);
void GetSingleRedBallTimes(int nRedBallFlag,CStringArray& csarRedBall);
void GetSingleBlueBallTimes(int nBlueBallFlag,CStringArray& csarBlueBall);
bool CheckIssue(CStringArray& csarIssue, CString csInput);
void GetSpecifiedRedBlueBall(CString csInputFrom, CString csInputTo, CStringArray& csarSpecifiedRedBlueBall);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STATDLG_H__30EFE7F3_98E5_44F9_9595_81FD89E36BB2__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?