📄 手机查询系统dlg.h
字号:
// 手机查询系统Dlg.h : header file
//
#include <iostream.h>
#include <fstream.h>
#include <stdlib.h>
#if !defined(AFX_DLG_H__CFDAF312_187F_4EFA_8DDE_366E5878E631__INCLUDED_)
#define AFX_DLG_H__CFDAF312_187F_4EFA_8DDE_366E5878E631__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMyDlg dialog
class CMyDlg : public CDialog
{
// Construction
public:
fstream myfile;
int MaxNum;
struct MobileUser
{
CString name;
CString mobile;
};
CMyDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMyDlg)
enum { IDD = IDD_MY_DIALOG };
CButton m_delete;
CButton m_query;
CButton m_modify;
CButton m_increase;
CString m_edit_mobile;
CString m_edit_name;
//}}AFX_DATA
MobileUser user[1000];
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMyDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnIncrease();
afx_msg void OnQuery();
afx_msg void OnDelete();
afx_msg void OnModify();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG_H__CFDAF312_187F_4EFA_8DDE_366E5878E631__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -