📄 searchstdlg.h
字号:
/**
* <p> Title: 查询社团的窗口类 </p>
* <p> Description:提供查询社团功能 </p>
* <p> Copyright: Copyright (c) 2005-12-17 </p>
* <p> Company: bjut </p>
* @author gaok
* @version 1.0
* @Created on 2005-12-17
*/
#if !defined(AFX_SEARCHSTDLG_H__D8B6E4C6_0517_4492_8A4E_3D76514B2880__INCLUDED_)
#define AFX_SEARCHSTDLG_H__D8B6E4C6_0517_4492_8A4E_3D76514B2880__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SearchSTDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSearchSTDlg dialog
#include "StSearch.h"
class CSearchSTDlg : public CDialog
{
// Construction
public:
CSearchSTDlg(CWnd* pParent = NULL); // standard constructor
CDatabase m_database; // 声明数据库对象
CString strSQL; // SQL文
void RefreshData(CStringArray* oaValues); // 进行操作后刷新通知信息
// Dialog Data
//{{AFX_DATA(CSearchSTDlg)
enum { IDD = IDD_DIALOG_ST_SEARCH };
CListCtrl m_ctrList; // 社团信息列表
CString m_strStuId; // 所输入的学生学号
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSearchSTDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSearchSTDlg)
virtual BOOL OnInitDialog(); // 初始化此窗口的方法
afx_msg void OnButtonSearch(); // 点击查询按钮
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SEARCHSTDLG_H__D8B6E4C6_0517_4492_8A4E_3D76514B2880__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -