maindlg.h
来自「用VC+ADO+ACCESS 做的学生管理系统」· C头文件 代码 · 共 65 行
H
65 行
#if !defined(AFX_MAINDLG_H__B6592558_69E1_4ED8_9D61_3A617F35DAD1__INCLUDED_)
#define AFX_MAINDLG_H__B6592558_69E1_4ED8_9D61_3A617F35DAD1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MainDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMainDlg dialog
class CMainDlg : public CDialog
{
// Construction
public:
void RefreshData();
CMainDlg(CWnd* pParent = NULL); // standard constructor
CDatabase m_database;
CString user;
CString p_query1;
int student_id;
// Dialog Data
//{{AFX_DATA(CMainDlg)
enum { IDD = IDD_DIALOG_MAIN };
CListCtrl m_student;
CListCtrl m_sc;
CListCtrl m_course;
CString m_field;
CString m_relation;
CString m_content;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CMainDlg)
afx_msg void OnButtonModipass();
virtual BOOL OnInitDialog();
afx_msg void OnRadio1();
afx_msg void OnRadio2();
afx_msg void OnRadio3();
afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnButtonSelect();
afx_msg void OnButtonAdd();
afx_msg void OnButtonDel();
virtual void OnCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINDLG_H__B6592558_69E1_4ED8_9D61_3A617F35DAD1__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?