📄 mypredlg.h
字号:
// mypreDlg.h : header file
//
#if !defined(AFX_MYPREDLG_H__23BA0451_5D2C_4F96_B213_7553144079C9__INCLUDED_)
#define AFX_MYPREDLG_H__23BA0451_5D2C_4F96_B213_7553144079C9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMypreDlg dialog
class CMypreDlg : public CDialog
{
// Construction
public:
void SetIndex();
void OnOK();
void SelChangeListen();
void ReadData();
CMypreDlg(CWnd* pParent = NULL); // standard constructor
_ConnectionPtr m_pConnection;
_CommandPtr m_pCommand;
_RecordsetPtr m_pRecordset;
// Dialog Data
//{{AFX_DATA(CMypreDlg)
enum { IDD = IDD_MYPRE_DIALOG };
CComboBox m_combo;
CListCtrl m_list;
int m_polity;
int m_physics;
CString m_number;
CString m_name;
int m_math;
int m_history;
int m_geography;
int m_english;
int m_chinese;
int m_chemistry;
int m_biology;
int m_all_grade;
double m_avg_grade;
CString m_query;
int m_radio;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMypreDlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMypreDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnBTNadd();
afx_msg void OnBTNupdate();
afx_msg void OnBTNdelete();
afx_msg void OnItemclickList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnBTNsort();
afx_msg void OnSelchangeCombo();
afx_msg void OnRADIOnumber();
afx_msg void OnRADIOname();
afx_msg void OnBTNquery();
afx_msg void OnBTN_exit();
afx_msg void OnBTNabout();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYPREDLG_H__23BA0451_5D2C_4F96_B213_7553144079C9__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -