softdelete.h

来自「偶作的毕业设计程序」· C头文件 代码 · 共 82 行

H
82
字号
#if !defined(AFX_SOFTDELETE_H__DA552FD7_9347_467F_BEDE_EB5E8A517305__INCLUDED_)
#define AFX_SOFTDELETE_H__DA552FD7_9347_467F_BEDE_EB5E8A517305__INCLUDED_

#include "LogMngr.h"
#include "resource.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SoftDelete.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSoftDelete dialog

class CSoftDelete : public CDialog
{
// Construction
public:
	CSoftDelete(CWnd* pParent = NULL);   // standard constructor
private:
	CFont m_font;

// Dialog Data
	//{{AFX_DATA(CSoftDelete)
	enum { IDD = IDD_DIALOG10 };
	CListCtrl	m_List;
	CComboBox	m_NumberCtrl;
	CComboBox	m_TypeCtrl;
	CComboBox	m_FormatCtrl;
	CComboBox	m_AuthorCtrl;
	CComboBox	m_XinghaoCtrl;
	CComboBox	m_NameCtrl;
	CString	m_Xinghao;
	CString	m_Author;
	CString	m_Number;
	CString	m_SoftName;
	CString	m_GeShi;
	CString	m_SoftType;
	//}}AFX_DATA


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

// Implementation
protected:
	int m_DelSum;
	CString a[31];
	int b[8];
	void DelRemain();
	void DelFirst();
	void OnDel();
	CLogMngr m_Log;
	CString m_strSource;
	void InitList();
    BOOL m_fConnected;
	_ConnectionPtr m_DBCnt;
	bool m_ifPass;
	// Generated message map functions
	//{{AFX_MSG(CSoftDelete)
	afx_msg void OnStartQuery();
	virtual void OnCancel();
	virtual BOOL OnInitDialog();
	afx_msg void OnQuery();
	afx_msg void OnDblclkList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDestroy();
	afx_msg void OnDelTotal();
	afx_msg void OnUndo();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SOFTDELETE_H__DA552FD7_9347_467F_BEDE_EB5E8A517305__INCLUDED_)

⌨️ 快捷键说明

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