studentdlg.h
来自「vc++开发数据库编程示例」· C头文件 代码 · 共 66 行
H
66 行
// StudentDlg.h : header file
//
#if !defined(AFX_STUDENTDLG_H__24B23489_58BA_4E16_ACA7_55D77A3A88F8__INCLUDED_)
#define AFX_STUDENTDLG_H__24B23489_58BA_4E16_ACA7_55D77A3A88F8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CStudentDlg dialog
class CStudentDlg : public CDialog
{
// Construction
public:
_RecordsetPtr m_pRecordset;
CStudentDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CStudentDlg)
enum { IDD = IDD_STUDENT_DIALOG };
CButton m_bTrue;
CString m_sServer;
CString m_sUser;
CString m_sPassword;
CString m_sDbase;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStudentDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CStudentDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnTrue();
afx_msg void OnChangeUser();
afx_msg void OnChangeServer();
afx_msg void OnChangePassword();
afx_msg void OnChangeDbase();
afx_msg void OnSetpassword();
virtual void OnCancel();
afx_msg void OnExit();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void WriteRegTable();
void EnableTrue();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STUDENTDLG_H__24B23489_58BA_4E16_ACA7_55D77A3A88F8__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?