?? coursedlg.h
字號(hào):
//{{AFX_INCLUDES()
#include "datagrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_COURSEDLG_H__FDF1CCEA_B8AC_416B_9F0A_538E3CCC4B43__INCLUDED_)
#define AFX_COURSEDLG_H__FDF1CCEA_B8AC_416B_9F0A_538E3CCC4B43__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CourseDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CCourseDlg dialog
class CCourseDlg : public CDialog
{
// Construction
public:
CCourseDlg(CWnd* pParent = NULL); // standard constructor
_RecordsetPtr m_pRecordset;
int type;//1=add,2=del,3=modify
// Dialog Data
//{{AFX_DATA(CCourseDlg)
enum { IDD = IDD_COURSE_DLG };
CDataGrid m_dgCourse;
CString m_strCourseHour;
CString m_strCourseId;
CString m_strCourseName;
CString m_strCoursePeriod;
CString m_strCoursePlace;
CString m_strCourseTeacher;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCourseDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CCourseDlg)
virtual BOOL OnInitDialog();
afx_msg void OnAddCourseBtn();
afx_msg void OnCourseExecute();
afx_msg void OnDelCourseBtn();
afx_msg void OnModifyCourseBtn();
afx_msg void OnSelChangeDatagridCourse(short FAR* Cancel);
afx_msg void OnChangeEditCourseId();
afx_msg void OnLookforCourseBtn();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_COURSEDLG_H__FDF1CCEA_B8AC_416B_9F0A_538E3CCC4B43__INCLUDED_)
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -