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

📄 workparttimedlg.h

📁 这是一个学生信息管理系统
💻 H
字号:
#pragma once //这些代码由王昌栋编写,未经允许,不得随便改动,如有问题欢迎提出!
#include "afxcmn.h"
#include "Parttime.h"
#include "WorkParttimeAddDlg.h"
#include "WorkParttimeUpdateDlg.h"
#include "WorkParttimeSearchDlg.h"

//打印
#include "PreParentDlg.h"
// CWorkParttimeDlg 对话框

class CWorkParttimeDlg : public CDialog
{
	DECLARE_DYNAMIC(CWorkParttimeDlg)

public:
	CWorkParttimeDlg(CWnd* pParent = NULL);   // 标准构造函数
	virtual ~CWorkParttimeDlg();

// 对话框数据
	enum { IDD = IDD_WORK_PARTTIME_DLG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedWorkParttimeAllBt();
public:
	CListCtrl m_cParttimeListCtrl;
public:
	afx_msg void OnBnClickedWorkParttimeAddBt();
public:
	afx_msg void OnBnClickedWorkParttimeUpdateBt();
public:
	void ViewAll();
	void Add();
	void Update();
	void Delete();
	void Search();
	void Print();
public:
	int m_iParttimeAmount;
	CParttime m_pSet;
public:
	afx_msg void OnBnClickedWorkParttimeDeleteBt();
public:
	afx_msg void OnBnClickedWorkParttimeSearchBt();
public:
	virtual BOOL OnInitDialog();
public:
	afx_msg void OnBnClickedWorkParttimePrintBt();
	//打印
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnPrint();
	static void DrawInfo(CDC &memDC, PRNINFO PrnInfo);
	HICON m_hIcon;

public:
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	COLORREF m_backcolor;
	CBrush m_brush;
public:
	afx_msg void OnHdnItemclickWorkParttimeList(NMHDR *pNMHDR, LRESULT *pResult);
public:
	afx_msg void OnClose();
public:
	afx_msg void OnContextMenu(CWnd* /*pWnd*/, CPoint /*point*/);
public:
	afx_msg void OnTimer(UINT_PTR nIDEvent);
public:
	afx_msg void OnParttimeAll();
	afx_msg void OnParttimeAdd();
	afx_msg void OnParttimeUpdate();
	afx_msg void OnParttimeDelete();
	afx_msg void OnParttimeSearch();
	afx_msg void OnParttimePrint();
public:
	afx_msg void OnUpdateParttimeUpdate(CCmdUI *pCmdUI);
	afx_msg void OnUpdateParttimeDelete(CCmdUI *pCmdUI);
	afx_msg void OnUpdateParttimePrint(CCmdUI *pCmdUI);
	bool m_bItemClick;
	CButton m_cUpdateBt;
	CButton m_cDeleteBt;
	CButton m_cPrintBt;
public:
	afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu);
};

⌨️ 快捷键说明

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