📄 studentdlg.h
字号:
// StudentDlg.h : header file
//
#if !defined(AFX_STUDENTDLG_H__9586587A_893D_4FD3_962F_FDA4E3E020AD__INCLUDED_)
#define AFX_STUDENTDLG_H__9586587A_893D_4FD3_962F_FDA4E3E020AD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "odbc.h"
/////////////////////////////////////////////////////////////////////////////
// CStudentDlg dialog
class CStudentDlg : public CDialog
{
// Construction
public:
void GetPaiming(CString sql);
void RefreshData(CString strSQL);
void RegisterDBSource(CString strDSName, CString strDBPath);
CStudentDlg(CWnd* pParent = NULL); // standard constructor
CString sql;
Codbc m_record;
CString type;
int index;
CDatabase m_rec;
// Dialog Data
//{{AFX_DATA(CStudentDlg)
enum { IDD = IDD_STUDENT_DIALOG };
CComboBox m_sort;
CListCtrl m_list;
CComboBox m_comb_type;
CComboBox m_comb_class;
CString m_find;
//}}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 OnSearch();
afx_msg void OnCloseupCombo1();
afx_msg void OnBseeall();
afx_msg void OnBadd();
afx_msg void OnRclickList1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnMDelete();
afx_msg void OnMadd();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnCloseup_sort();
afx_msg void OnMEdit();
afx_msg void OnBabout();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STUDENTDLG_H__9586587A_893D_4FD3_962F_FDA4E3E020AD__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -