📄 teachdlg.h
字号:
#if !defined(AFX_TEACHDLG_H__35D2F852_0F53_49BD_8A77_E15E9CB18FAD__INCLUDED_)
#define AFX_TEACHDLG_H__35D2F852_0F53_49BD_8A77_E15E9CB18FAD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TeachDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CTeachDlg dialog
class CTeachDlg : public CDialog
{
// Construction
public:
CString id;
void ResetButton();
void RefreshList();
CRecordset m_recordSet;
CDatabase m_database;
virtual BOOL OnInitDialog();
CTeachDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CTeachDlg)
enum { IDD = IDD_TEACH };
CComboBox m_cTeacher;
CComboBox m_cCourse;
CListCtrl m_list;
CButton m_bEdit;
CButton m_bDel;
CButton m_bConfirm;
CButton m_bAdd;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTeachDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CTeachDlg)
afx_msg void OnClickListTeach(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnTeachAdd();
afx_msg void OnTeachEdit();
afx_msg void OnTeachDel();
afx_msg void OnTeachConfirm();
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_TEACHDLG_H__35D2F852_0F53_49BD_8A77_E15E9CB18FAD__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -