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

📄 unit.h

📁 功能描述: 1、快速添加、修改、删除客户信息。 2、直观方便的地域信息管理功能
💻 H
字号:
#if !defined(AFX_UNIT_H__21D4BB4D_5D31_11D8_8750_5254AB32C8FB__INCLUDED_)
#define AFX_UNIT_H__21D4BB4D_5D31_11D8_8750_5254AB32C8FB__INCLUDED_

#include "RainFunction.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Unit.h : header file
//
#include "RecordComboBox.h"
#include "RainFunction.h"
#include"DBSlider.h"
#include "RecordEditBox.h"
/////////////////////////////////////////////////////////////////////////////
// CUnit dialog

class CUnit : public CDialog
{
// Construction
public:
	int Clime(int Number);
	void Display();
	void Enabled(bool bStyle);
	void ClearFrom();
	bool OK;
	CRainFunction function;
	_RecordsetPtr ProvinceRst,CityRst,TownRst,rst;
	CUnit(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CUnit)
	enum { IDD = IDD_DlGUnit };
	CDBSlider	m_Slider;
	CButton	m_ButDele;
	CButton	m_ButChange;
	CRecordComboBox	m_ComSort;
	CRecordEditBox	m_EdtPhone;
	CRecordEditBox	m_EdtName;
	CRecordEditBox	m_EdtLetterName;
	CRecordEditBox	m_EdtID;
	CRecordEditBox	m_EdtFax;
	CRecordEditBox	m_EdtAddr;
	CRecordComboBox	m_ComTown;
	CRecordComboBox	m_ComProvince;
	CRecordComboBox	m_ComCity;
	CButton	m_ButSave;
	CButton	m_ButExit;
	CButton	m_ButCencel;
	CButton	m_ButAdd;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CUnit)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CUnit)
	virtual void OnOK();
	afx_msg void OnButexit();
	virtual BOOL OnInitDialog();
	afx_msg void OnKillfocusCOMProvince();
	afx_msg void OnKillfocusCOMCity();
	afx_msg void OnButadd();
	afx_msg void OnBUTChange();
	afx_msg void OnBUTSave();
	afx_msg void OnChangeEDTName();
	afx_msg void OnButCencel();
	afx_msg void OnBUTDele();
	afx_msg void OnReleasedcaptureSlider1(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	bool AddOrChange;
};

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

#endif // !defined(AFX_UNIT_H__21D4BB4D_5D31_11D8_8750_5254AB32C8FB__INCLUDED_)

⌨️ 快捷键说明

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