📄 roomdlg.h
字号:
//{{AFX_INCLUDES()
#include "datagrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_ROOMDLG_H__0D9DC327_2543_4F2E_A392_FFF9F0C44886__INCLUDED_)
#define AFX_ROOMDLG_H__0D9DC327_2543_4F2E_A392_FFF9F0C44886__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RoomDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CRoomDlg dialog
class CRoomDlg : public CDialog
{
// Construction
public:
CRoomDlg(CWnd* pParent = NULL); // standard constructor
_RecordsetPtr m_pRecordset;
void UpdateList();
// Dialog Data
//{{AFX_DATA(CRoomDlg)
enum { IDD = IDD_ROOM_DLG };
CString m_strRoomStatus;
CString m_strRoomType;
CDataGrid m_dgRoom;
CString m_strRoomId;
int m_nRoomPrice;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRoomDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CRoomDlg)
virtual BOOL OnInitDialog();
afx_msg void OnChangeEditRoomId();
afx_msg void OnAddRoomBtn();
afx_msg void OnModifyRoomBtn();
afx_msg void OnDeleteRoomBtn();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ROOMDLG_H__0D9DC327_2543_4F2E_A392_FFF9F0C44886__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -