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

📄 systemview.h

📁 计算机管理系统可以实现开机时自动运行
💻 H
字号:
// SystemView.h : interface of the CSystemView class
//
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "msflexgrid.h"
//}}AFX_INCLUDES

#define IDI_ICON		0x0005//????托盘
#define WM_NOTIFYICON	WM_USER+5//????托盘

#if !defined(AFX_SYSTEMVIEW_H__7AD3473F_2089_4AE4_932A_257C8964E7FB__INCLUDED_)
#define AFX_SYSTEMVIEW_H__7AD3473F_2089_4AE4_932A_257C8964E7FB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CSystemSet;




class CSystemView : public CRecordView
{
protected: // create from serialization only
	CSystemView();
	DECLARE_DYNCREATE(CSystemView)

public:
	//{{AFX_DATA(CSystemView)
	enum { IDD = IDD_SYSTEM_FORM };
	CSystemSet* m_pSet;
	CString	m_dusno;
	CString	m_dupass;
	CMSFlexGrid	m_MSFGird;
	CString	m_time;
	CString	m_chasno;
	CMSFlexGrid	m_MSFGrid;
	//}}AFX_DATA

// Attributes
public:
	CSystemDoc* GetDocument();

// Operations
public:
	BOOL SetAutoRun(CString strPath);//////////////////////////
    bool flag1;
	bool m_position;

	int hour;
	int minute;
	int second;
	int hour1;
	int minute1;
	int second1;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSystemView)
	public:
	virtual CRecordset* OnGetRecordset();
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnDraw(CDC* pDC);
	//}}AFX_VIRTUAL
	afx_msg HCURSOR OnQueryDragIcon();//托盘
	afx_msg BOOL OnQueryEndSession();///?????/////
	afx_msg void OnNotifyIcon(WPARAM wParam, LPARAM lParam);//托盘
// Implementation
public:
	virtual ~CSystemView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
		HICON m_hIcon;

	
// Generated message map functions
protected:
	//{{AFX_MSG(CSystemView)
	afx_msg void OnAdduser();
	afx_msg void OnDeluser();
	afx_msg void OnAdchange();
	afx_msg void OnZhuxiao();
	afx_msg void OnChongqi();
	afx_msg void OnShutdown();
	afx_msg void OnUchangepass();
	afx_msg void OnDenglu();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnTimecha();
	afx_msg void OnKanall();
	afx_msg void OnKilltime();
	afx_msg void OnDeljilu();
	afx_msg void OnMoney();
	afx_msg void OnDalltime();
	afx_msg void OnUseralltime();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in SystemView.cpp
inline CSystemDoc* CSystemView::GetDocument()
   { return (CSystemDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_SYSTEMVIEW_H__7AD3473F_2089_4AE4_932A_257C8964E7FB__INCLUDED_)

⌨️ 快捷键说明

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