⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 noticemangedlg.h

📁 学校社团管理系统Visual C
💻 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_NOTICEMANGEDLG_H__8CB62DE6_15F7_41D5_98A7_2F2C6DC6B8CF__INCLUDED_)
#define AFX_NOTICEMANGEDLG_H__8CB62DE6_15F7_41D5_98A7_2F2C6DC6B8CF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NoticeMangeDlg.h : header file
//
#include "Variable.h"
#include "ActionFactory.h"
/////////////////////////////////////////////////////////////////////////////
// CNoticeMangeDlg dialog

class CNoticeMangeDlg : public CDialog
{
// Construction
public:
	CNoticeMangeDlg(CWnd* pParent = NULL);   // standard constructor
    CDatabase m_database; // 声明数据库对象
	CString	m_username; // 主窗口显示登陆上来的的用户名称
	void RefreshData(CString strSQL); // 进行操作后刷新通知信息
	void RefreshStList(); // 刷新社团下拉选项
	void RefreshResultList(Action* noticeAction); // 刷新结果列表
// Dialog Data
	//{{AFX_DATA(CNoticeMangeDlg)
	enum { IDD = IDD_DIALOG_NOTICE };
	CButton	m_bntNew; // 增加按钮
	CButton	m_bntModify; // 修改按钮
	CButton	m_bntDelete; // 删除按钮
	CListCtrl	m_ctrList; // 学生信息列表
	CComboBox	m_ctrST; // 社团下拉选项
	CString	m_strST; // 所选择的社团
	BOOL m_bIsAdmin; // 是否是管理员
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CNoticeMangeDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CNoticeMangeDlg)
	virtual BOOL OnInitDialog(); // 初始化此窗口的方法
	afx_msg void OnButtonNew(); // 点击增加
	afx_msg void OnButtonSearch(); // 点击查询
	afx_msg void OnButtonBrowse(); // 点击察看
	afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult); // 双击某一条记录
	afx_msg void OnButtonModify(); // 点击修改
	afx_msg void OnButtonDelete(); // 点击删除
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_NOTICEMANGEDLG_H__8CB62DE6_15F7_41D5_98A7_2F2C6DC6B8CF__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -