?? 6and1dlg.h
字號:
// 6and1Dlg.h : header file
//
#if !defined(AFX_6AND1DLG_H__3CF59A12_A7B5_4E43_AF9F_391340B34965__INCLUDED_)
#define AFX_6AND1DLG_H__3CF59A12_A7B5_4E43_AF9F_391340B34965__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Label.h"
#include "editex.hxx"
struct LOTTERY
{
CString number[16]; //投注號
int rst_basic; //基本號猜中數(shù)
int rst_extra; //特別號猜中數(shù)
};
/////////////////////////////////////////////////////////////////////////////
// CMy6and1Dlg dialog
class CMy6and1Dlg : public CDialog
{
// Construction
public:
CMy6and1Dlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMy6and1Dlg)
enum { IDD = IDD_MY6AND1_DIALOG };
CEdit m_window;
CLabel m_rst_extra;
CLabel m_rst_basic;
CLabel m_total;
CLabel m_title;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMy6and1Dlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
CString m_strTemp;
TCHAR m_charTemp;
bool m_success;
bool m_start;
bool m_save;
// Generated message map functions
//{{AFX_MSG(CMy6and1Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnAction();
afx_msg void OnSave();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int SplitString(CString& str,TCHAR cTok,CStringArray& aryItem) ;
bool InitConfig(); //初始化設置
bool InitData(); //初始化數(shù)組
CString win_title; //主標題
int num_basic; //基本號數(shù)量
int num_extra; //特別號數(shù)量
int num_total; //彩票總注數(shù)
int max_total; //允許的最大總數(shù)
struct LOTTERY *lottery; //彩票投注數(shù)組
CString rst_basic[16]; //中獎結(jié)果-基本號
CString rst_extra[4]; //中獎結(jié)果-特別號
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_6AND1DLG_H__3CF59A12_A7B5_4E43_AF9F_391340B34965__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -