?? note.h
字號:
#if !defined(AFX_NOTE_H__0B135800_35A6_4658_BF6C_3AC7012FA7C6__INCLUDED_)
#define AFX_NOTE_H__0B135800_35A6_4658_BF6C_3AC7012FA7C6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Note.h : header file
//
#include "NoteSet.h"
/////////////////////////////////////////////////////////////////////////////
// CNote dialog
class CNote : public CPropertyPage
{
DECLARE_DYNCREATE(CNote)
// Construction
public:
void Show(CString str);
CNote();
~CNote();
CString t;
// CNoteSet m_recordset;
CString m_strID;
// Dialog Data
//{{AFX_DATA(CNote)
enum { IDD = IDD_NOTE };
CButton m_Del;
CButton m_Modify;
CButton m_New;
CButton m_OK;
CButton m_Cancel;
CListCtrl m_ListCtr;
CString m_NoteEdit;
CString m_Title;
CTime m_DateTime;
//}}AFX_DATA
CString strSQL;
CDatabase database; //定義數據庫對象
//以下是自動連接數據庫
CString sDriver;
CString sDsn;
CString sFile;
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CNote)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CNote)
afx_msg void OnNew();
afx_msg void OnDel();
afx_msg void OnModify();
virtual BOOL OnInitDialog();
afx_msg void OnCancel();
afx_msg void OnOk();
afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_NOTE_H__0B135800_35A6_4658_BF6C_3AC7012FA7C6__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -